summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Babej <franz@users.noreply.github.com>2023-10-03 19:49:09 +0300
committerGitHub <noreply@github.com>2023-10-03 09:49:09 -0700
commit9ce9a722ba06ea87487cd08bd2001276e2aef8cd (patch)
tree65cde6b74b567f2e223194b3b794e2367c7f74fd
parent1ebe96174f0706bd114139a691dce46db84dc9a6 (diff)
downloadOpenCL-Headers-9ce9a722ba06ea87487cd08bd2001276e2aef8cd.tar.gz
Update extension headers for latest cl.xml changes (#242)
- add clCommandSVMMemcpyKHR and clCommandSVMMemFillKHR
-rw-r--r--CL/cl_ext.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/CL/cl_ext.h b/CL/cl_ext.h
index 31c7de8..44ad339 100644
--- a/CL/cl_ext.h
+++ b/CL/cl_ext.h
@@ -295,6 +295,37 @@ typedef clCommandNDRangeKernelKHR_t *
clCommandNDRangeKernelKHR_fn ;
typedef cl_int CL_API_CALL
+clCommandSVMMemcpyKHR_t(
+ cl_command_buffer_khr command_buffer,
+ cl_command_queue command_queue,
+ void* dst_ptr,
+ const void* src_ptr,
+ size_t size,
+ cl_uint num_sync_points_in_wait_list,
+ const cl_sync_point_khr* sync_point_wait_list,
+ cl_sync_point_khr* sync_point,
+ cl_mutable_command_khr* mutable_handle);
+
+typedef clCommandSVMMemcpyKHR_t *
+clCommandSVMMemcpyKHR_fn CL_API_SUFFIX__VERSION_2_0;
+
+typedef cl_int CL_API_CALL
+clCommandSVMMemFillKHR_t(
+ cl_command_buffer_khr command_buffer,
+ cl_command_queue command_queue,
+ void* svm_ptr,
+ const void* pattern,
+ size_t pattern_size,
+ size_t size,
+ cl_uint num_sync_points_in_wait_list,
+ const cl_sync_point_khr* sync_point_wait_list,
+ cl_sync_point_khr* sync_point,
+ cl_mutable_command_khr* mutable_handle);
+
+typedef clCommandSVMMemFillKHR_t *
+clCommandSVMMemFillKHR_fn CL_API_SUFFIX__VERSION_2_0;
+
+typedef cl_int CL_API_CALL
clGetCommandBufferInfoKHR_t(
cl_command_buffer_khr command_buffer,
cl_command_buffer_info_khr param_name,
@@ -461,6 +492,31 @@ clCommandNDRangeKernelKHR(
cl_mutable_command_khr* mutable_handle) ;
extern CL_API_ENTRY cl_int CL_API_CALL
+clCommandSVMMemcpyKHR(
+ cl_command_buffer_khr command_buffer,
+ cl_command_queue command_queue,
+ void* dst_ptr,
+ const void* src_ptr,
+ size_t size,
+ cl_uint num_sync_points_in_wait_list,
+ const cl_sync_point_khr* sync_point_wait_list,
+ cl_sync_point_khr* sync_point,
+ cl_mutable_command_khr* mutable_handle) CL_API_SUFFIX__VERSION_2_0;
+
+extern CL_API_ENTRY cl_int CL_API_CALL
+clCommandSVMMemFillKHR(
+ cl_command_buffer_khr command_buffer,
+ cl_command_queue command_queue,
+ void* svm_ptr,
+ const void* pattern,
+ size_t pattern_size,
+ size_t size,
+ cl_uint num_sync_points_in_wait_list,
+ const cl_sync_point_khr* sync_point_wait_list,
+ cl_sync_point_khr* sync_point,
+ cl_mutable_command_khr* mutable_handle) CL_API_SUFFIX__VERSION_2_0;
+
+extern CL_API_ENTRY cl_int CL_API_CALL
clGetCommandBufferInfoKHR(
cl_command_buffer_khr command_buffer,
cl_command_buffer_info_khr param_name,