summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Ashbaugh <ben.ashbaugh@intel.com>2023-03-20 09:16:53 -0700
committerGitHub <noreply@github.com>2023-03-20 11:16:53 -0500
commit9ddb236e6eb3cf844f9e2f81677e1045f9bf838e (patch)
tree425a6096f9baaf34fd88a286f30fcc8614a9658a
parente3e85862d6905eba9f4b5ed02c52effe673721d3 (diff)
downloadOpenCL-Headers-9ddb236e6eb3cf844f9e2f81677e1045f9bf838e.tar.gz
the pointer argument to clEnqueueWriteHostPipeINTEL should be const (#222)
-rw-r--r--CL/cl_ext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/CL/cl_ext.h b/CL/cl_ext.h
index 3d1984e..69cceeb 100644
--- a/CL/cl_ext.h
+++ b/CL/cl_ext.h
@@ -2539,7 +2539,7 @@ typedef cl_int (CL_API_CALL *clEnqueueWriteHostPipeINTEL_fn)(
cl_program program,
const char* pipe_symbol,
cl_bool blocking_write,
- void* ptr,
+ const void* ptr,
size_t size,
cl_uint num_events_in_wait_list,
const cl_event* event_wait_list,
@@ -2551,7 +2551,7 @@ clEnqueueWriteHostPipeINTEL(
cl_program program,
const char* pipe_symbol,
cl_bool blocking_write,
- void* ptr,
+ const void* ptr,
size_t size,
cl_uint num_events_in_wait_list,
const cl_event* event_wait_list,