From edbccdfcaf46f11e631afe98796f3e6e170da5d0 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sun, 26 Oct 2014 05:04:34 +0000
Subject: [PATCH] Maybe something changed?

---
 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