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/convolutional_layer.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/convolutional_layer.h b/src/convolutional_layer.h
index 970aa10..da98dce 100644
--- a/src/convolutional_layer.h
+++ b/src/convolutional_layer.h
@@ -20,7 +20,7 @@
 void add_bias_gpu(float *output, float *biases, int batch, int n, int size);
 void backward_bias_gpu(float *bias_updates, float *delta, int batch, int n, int size);
 #ifdef CUDNN
-void cudnn_convolutional_setup(layer *l);
+void cudnn_convolutional_setup(layer *l, int cudnn_preference);
 #endif
 #endif
 

--
Gitblit v1.10.0