From fc496d52bf22a0bb257300d3c79be9cd80e722cb Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 12 Apr 2018 19:32:57 +0000
Subject: [PATCH] Yolo can be used from Python 2.x using /darknet.py on Linux or darknet/x64/darknet.py on Windows
---
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