From 14303717dcddae43cdc55beb0685dae86f566fd8 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sat, 25 Oct 2014 18:57:26 +0000
Subject: [PATCH] Fast, needs to be faster

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

diff --git a/src/opencl.c b/src/opencl.c
index a2e7366..604a2e3 100644
--- a/src/opencl.c
+++ b/src/opencl.c
@@ -4,7 +4,7 @@
 #include <string.h>
 #include <time.h>
 #include <unistd.h>
-//#include <clBLAS.h>
+#include <clBLAS.h>
 
 #include "opencl.h"
 #include "utils.h"
@@ -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);
@@ -99,7 +99,7 @@
         info.queues[i] = clCreateCommandQueue(info.context, info.device, 0, &info.error);
         check_error(info);
     }
-    //info.error = clblasSetup();
+    info.error = clblasSetup();
     check_error(info);
     info.initialized = 1;
     return info;

--
Gitblit v1.10.0