From 408bde78ffd5c9512ee09adcd2faba21c875d676 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 13 Apr 2018 14:32:10 +0000
Subject: [PATCH] Fixed darknet.py for Linux
---
src/gemm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gemm.c b/src/gemm.c
index 4eb36fb..0efefd0 100644
--- a/src/gemm.c
+++ b/src/gemm.c
@@ -111,7 +111,7 @@
}
#endif
-inline int simd_detect_x86(unsigned int idFeature)
+int simd_detect_x86(unsigned int idFeature)
{
uint32_t regs[4]; // EAX, EBX, ECX, EDX;
#ifdef _WIN32
@@ -127,7 +127,7 @@
return 1;
}
-inline int is_fma_avx() {
+int is_fma_avx() {
static int result = -1;
if (result == -1) {
result = simd_detect_x86(AVXFlag);
--
Gitblit v1.10.0