From 2b2441313b73c460a60c013c3b7bf9e19c994b6b Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Thu, 30 Oct 2014 18:28:37 +0000
Subject: [PATCH] col2im maybe a little faster

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

diff --git a/src/opencl.c b/src/opencl.c
index a2e7366..fc7310c 100644
--- a/src/opencl.c
+++ b/src/opencl.c
@@ -81,7 +81,7 @@
 
     }
     int index = getpid()%num_devices;
-    index = 0;
+    index = 1;
     printf("%d rand, %d devices, %d index\n", getpid(), num_devices, index);
     info.device = devices[index];
     fprintf(stderr, "Found %d device(s)\n", num_devices);
@@ -141,6 +141,7 @@
 void cl_setup()
 {
 	if(!cl.initialized){
+        printf("initializing\n");
 		cl = cl_init();
 	}
 }

--
Gitblit v1.10.0