From a9fef1bd66e6b2c40c344c1bdcd33bb1d209461c Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 10 Aug 2018 21:26:53 +0000
Subject: [PATCH] Bug fixes. Tested im2col_cpu_custom_transpose - bad way.
---
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