From 351996d9f0390ef44412fa678bc7a073a94e23e5 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 16 Mar 2017 18:49:36 +0000
Subject: [PATCH] Fixed memory leak in DLL, added load_image() & free_image(), added read_names_from_file()

---
 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