From 6e1d5b45de988bb795c4c505f22f2170a78b7746 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Tue, 20 Jan 2015 06:06:18 +0000
Subject: [PATCH] fast sort of working

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

diff --git a/src/opencl.h b/src/opencl.h
index a3985a7..ceb6e56 100644
--- a/src/opencl.h
+++ b/src/opencl.h
@@ -1,6 +1,7 @@
-#ifdef GPU
 #ifndef OPENCL_H
 #define OPENCL_H
+extern int gpu_index;
+#ifdef GPU
 #ifdef __APPLE__
 #include <OpenCL/opencl.h>
 #else

--
Gitblit v1.10.0