diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2012-03-26 15:55:43 -0400 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-03-26 15:55:43 -0400 |
commit | d4c0bd254a5ecd5f36c71fefc5231dc5605c74fd (patch) | |
tree | 0532ddf04795f76252e8190e67ba05131489a389 | |
parent | d425853dd9111b68def72fc25c949aa9f12146a2 (diff) |
XXXX
-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); |