From 7f9145729c2a2b64a7aeb3806f7c3d21771fce94 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Tue, 14 Aug 2018 15:38:39 +0000
Subject: [PATCH] Another one fix for MSVS2017
---
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