From 9b3c7136f34d4cad593467cd785f44ebb05bf878 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Thu, 16 Oct 2014 22:17:23 +0000 Subject: [PATCH] Fixing up maxpool layer --- src/opencl.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/opencl.h b/src/opencl.h index eafb3e7..9cf3acd 100644 --- a/src/opencl.h +++ b/src/opencl.h @@ -23,5 +23,8 @@ cl_kernel get_kernel(char *filename, char *kernelname, char *options); 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); +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 #endif -- Gitblit v1.10.0