Joseph Redmon
2014-11-05 b13ad6d5fd23f68f506c14ede4282126d893702b
src/opencl.h
@@ -7,6 +7,7 @@
#include <CL/cl.h>
#endif
typedef struct {
    int initialized;
    cl_int error;
@@ -24,6 +25,7 @@
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);
#endif