summaryrefslogtreecommitdiff
path: root/src/cl_mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cl_mem.h')
-rw-r--r--src/cl_mem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cl_mem.h b/src/cl_mem.h
index 530fe79b..0a8c723b 100644
--- a/src/cl_mem.h
+++ b/src/cl_mem.h
@@ -194,6 +194,12 @@ extern cl_int cl_mem_copy_buffer_rect(cl_command_queue, cl_mem, cl_mem,
/* api clEnqueueCopyImage help function */
extern cl_int cl_mem_kernel_copy_image(cl_command_queue, struct _cl_mem_image*, struct _cl_mem_image*,
const size_t *, const size_t *, const size_t *);
+
+
+/* api clEnqueueCopyImage help function */
+extern cl_int cl_mem_copy_image_to_buffer(cl_command_queue, struct _cl_mem_image*, cl_mem,
+ const size_t *, const size_t, const size_t *);
+
/* Directly map a memory object */
extern void *cl_mem_map(cl_mem);