diff options
author | Ben Ashbaugh <ben.ashbaugh@intel.com> | 2023-03-20 09:16:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-20 11:16:53 -0500 |
commit | 9ddb236e6eb3cf844f9e2f81677e1045f9bf838e (patch) | |
tree | 425a6096f9baaf34fd88a286f30fcc8614a9658a | |
parent | e3e85862d6905eba9f4b5ed02c52effe673721d3 (diff) | |
download | OpenCL-Headers-9ddb236e6eb3cf844f9e2f81677e1045f9bf838e.tar.gz |
the pointer argument to clEnqueueWriteHostPipeINTEL should be const (#222)
-rw-r--r-- | CL/cl_ext.h | 4 |
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, |