From ff67f0347653c35c67ddbafad8dc76bbd868047e Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Wed, 03 Dec 2014 16:48:07 +0000
Subject: [PATCH] Starting on server/client

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

diff --git a/src/opencl.h b/src/opencl.h
index 9cf3acd..a3985a7 100644
--- a/src/opencl.h
+++ b/src/opencl.h
@@ -7,6 +7,7 @@
 #include <CL/cl.h>
 #endif
 
+
 typedef struct {
     int initialized;
     cl_int error;
@@ -24,7 +25,9 @@
 void cl_read_array(cl_mem mem, float *x, int n);
 void cl_write_array(cl_mem mem, float *x, int n);
 cl_mem cl_make_array(float *x, int n);
+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