From 15139eb6abd3c6c05a4046b5ac917de42c678827 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Tue, 24 Apr 2018 19:26:55 +0000
Subject: [PATCH] Fixed TP/FP/FN, IoU calculation for specified threshold
---
src/cuda.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/cuda.c b/src/cuda.c
index d8db851..f19c92d 100644
--- a/src/cuda.c
+++ b/src/cuda.c
@@ -177,4 +177,7 @@
cudaStreamSynchronize(get_cuda_stream());
}
-#endif
+#else // GPU
+#include "cuda.h"
+void cuda_set_device(int n) {}
+#endif // GPU
--
Gitblit v1.10.0