From a0a2e6b50096c92de8cea2eba32a71537bc5f2c8 Mon Sep 17 00:00:00 2001
From: Edmond Yoo <hj3yoo@uwaterloo.ca>
Date: Sun, 16 Sep 2018 03:15:34 +0000
Subject: [PATCH] Merge branch 'master' of https://github.com/hj3yoo/darknet
---
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