From e36182cd8c5dd5c6d0aa1f77cf5cdca87e8bb1f0 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Fri, 21 Nov 2014 23:35:19 +0000
Subject: [PATCH] cleaned up data parsing a lot. probably nothing broken?

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

diff --git a/src/opencl.h b/src/opencl.h
index aedc056..a3985a7 100644
--- a/src/opencl.h
+++ b/src/opencl.h
@@ -7,7 +7,6 @@
 #include <CL/cl.h>
 #endif
 
-#define NUM_QUEUES 8
 
 typedef struct {
     int initialized;
@@ -16,13 +15,11 @@
     cl_device_id device;
     cl_context context;
     cl_command_queue queue;
-    cl_command_queue queues[NUM_QUEUES];
 }cl_info;
 
 extern cl_info cl;
 
 void cl_setup();
-void wait_for_queues();
 void check_error(cl_info info);
 cl_kernel get_kernel(char *filename, char *kernelname, char *options);
 void cl_read_array(cl_mem mem, float *x, int n);
@@ -31,5 +28,6 @@
 cl_mem cl_make_int_array(int *x, int n);
 void cl_copy_array(cl_mem src, cl_mem dst, int n);
 cl_mem cl_sub_array(cl_mem src, int offset, int size);
+float cl_checksum(cl_mem mem, int n);
 #endif
 #endif

--
Gitblit v1.10.0