From e4ab47dfcedb4c87e5eddf484caa4ac0c020fc9b Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Wed, 21 Feb 2018 12:35:09 +0000
Subject: [PATCH] Optimized resizing of region_layer for random=1

---
 src/network.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/network.c b/src/network.c
index e83941f..f3185a3 100644
--- a/src/network.c
+++ b/src/network.c
@@ -378,6 +378,7 @@
     }
 #ifdef GPU
     if(gpu_index >= 0){
+		printf(" try to allocate workspace, ");
         net->workspace = cuda_make_array(0, (workspace_size-1)/sizeof(float)+1);
 		printf(" CUDA allocate done! \n");
     }else {

--
Gitblit v1.10.0