From 3b9afd4cd2efcfeb9699f1d9658c8509e08e58fb Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sun, 15 Jan 2017 21:44:41 +0000
Subject: [PATCH] Fixed behavior if missing library cudnn.lib
---
src/cuda.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/cuda.c b/src/cuda.c
index 617e7b3..1b51271 100644
--- a/src/cuda.c
+++ b/src/cuda.c
@@ -26,6 +26,7 @@
void check_error(cudaError_t status)
{
+ //cudaDeviceSynchronize();
cudaError_t status2 = cudaGetLastError();
if (status != cudaSuccess)
{
--
Gitblit v1.10.0