From 3baf534a2d603f6b20a06ca45c29350e52a859fb Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 09 Aug 2018 00:07:06 +0000
Subject: [PATCH] Compile error fix
---
src/darknet.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/darknet.c b/src/darknet.c
index 068c9e0..1dc073b 100644
--- a/src/darknet.c
+++ b/src/darknet.c
@@ -377,6 +377,7 @@
#else
if(gpu_index >= 0){
cuda_set_device(gpu_index);
+ check_error(cudaSetDeviceFlags(cudaDeviceScheduleBlockingSync));
}
#endif
--
Gitblit v1.10.0