From 033e934ce82826c73d851098baf7ce4b1a27c89a Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Wed, 21 Feb 2018 16:14:01 +0000
Subject: [PATCH] If there is excessive GPU-RAM consumption by CUDNN then then do not use Workspace

---
 src/network.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/network.h b/src/network.h
index 693105c..6f4123a 100644
--- a/src/network.h
+++ b/src/network.h
@@ -21,7 +21,7 @@
     float *workspace;
     int n;
     int batch;
-	uint64_t *seen;
+	int *seen;
     float epoch;
     int subdivisions;
     float momentum;
@@ -64,6 +64,7 @@
     #ifdef GPU
     float **input_gpu;
     float **truth_gpu;
+	int wait_stream;
     #endif
 } network;
 

--
Gitblit v1.10.0