diff options
-rw-r--r-- | cl_simple.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cl_simple.h b/cl_simple.h index 6bde48e..2a324ec 100644 --- a/cl_simple.h +++ b/cl_simple.h @@ -14,6 +14,8 @@ unsigned clSimpleKernelSetArg(cl_kernel kernel, cl_uint index, size_t size, const void * value); unsigned clSimpleCreateBuffer(cl_mem * buffer, cl_context context, cl_mem_flags flags, size_t size); +unsigned clSimpleEnqueueWriteBuffer(cl_command_queue command_queue, + cl_mem buffer, size_t buffer_size, void * ptr); unsigned clSimpleEnqueueNDRangeKernel(cl_command_queue command_queue, cl_kernel kernel, cl_uint work_dim, const size_t * global_work_size, const size_t * local_work_size); |