1 /* Automatically generated from OpenCL registry files; DO NOT EDIT! */
3 struct clBuildProgram_params
7 const cl_device_id
* device_list
;
9 void (WINAPI
* pfn_notify
)(cl_program program
, void* user_data
);
13 struct clCompileProgram_params
17 const cl_device_id
* device_list
;
19 uint32_t num_input_headers
;
20 const cl_program
* input_headers
;
21 const char** header_include_names
;
22 void (WINAPI
* pfn_notify
)(cl_program program
, void* user_data
);
26 struct clCreateBuffer_params
36 struct clCreateCommandQueue_params
38 cl_command_queue
* __retval
;
45 struct clCreateContext_params
48 const cl_context_properties
* properties
;
50 const cl_device_id
* devices
;
51 void (WINAPI
* pfn_notify
)(const char* errinfo
, const void* private_info
, size_t cb
, void* user_data
);
56 struct clCreateContextFromType_params
59 const cl_context_properties
* properties
;
60 ULONGLONG device_type
;
61 void (WINAPI
* pfn_notify
)(const char* errinfo
, const void* private_info
, size_t cb
, void* user_data
);
66 struct clCreateImage_params
71 const cl_image_format
* image_format
;
72 const cl_image_desc
* image_desc
;
77 struct clCreateImage2D_params
82 const cl_image_format
* image_format
;
85 SIZE_T image_row_pitch
;
90 struct clCreateImage3D_params
95 const cl_image_format
* image_format
;
99 SIZE_T image_row_pitch
;
100 SIZE_T image_slice_pitch
;
105 struct clCreateKernel_params
109 const char* kernel_name
;
113 struct clCreateKernelsInProgram_params
116 uint32_t num_kernels
;
118 cl_uint
* num_kernels_ret
;
121 struct clCreateProgramWithBinary_params
123 cl_program
* __retval
;
125 uint32_t num_devices
;
126 const cl_device_id
* device_list
;
127 const size_t* lengths
;
128 const unsigned char** binaries
;
129 cl_int
* binary_status
;
133 struct clCreateProgramWithBuiltInKernels_params
135 cl_program
* __retval
;
137 uint32_t num_devices
;
138 const cl_device_id
* device_list
;
139 const char* kernel_names
;
143 struct clCreateProgramWithSource_params
145 cl_program
* __retval
;
148 const char** strings
;
149 const size_t* lengths
;
153 struct clCreateSampler_params
155 cl_sampler
* __retval
;
157 uint32_t normalized_coords
;
158 uint32_t addressing_mode
;
159 uint32_t filter_mode
;
163 struct clCreateSubBuffer_params
168 uint32_t buffer_create_type
;
169 const void* buffer_create_info
;
173 struct clCreateSubDevices_params
175 cl_device_id in_device
;
176 const cl_device_partition_property
* properties
;
177 uint32_t num_devices
;
178 cl_device_id
* out_devices
;
179 cl_uint
* num_devices_ret
;
182 struct clCreateUserEvent_params
189 struct clEnqueueBarrier_params
191 cl_command_queue command_queue
;
194 struct clEnqueueBarrierWithWaitList_params
196 cl_command_queue command_queue
;
197 uint32_t num_events_in_wait_list
;
198 const cl_event
* event_wait_list
;
202 struct clEnqueueCopyBuffer_params
204 cl_command_queue command_queue
;
210 uint32_t num_events_in_wait_list
;
211 const cl_event
* event_wait_list
;
215 struct clEnqueueCopyBufferRect_params
217 cl_command_queue command_queue
;
220 const size_t* src_origin
;
221 const size_t* dst_origin
;
222 const size_t* region
;
223 SIZE_T src_row_pitch
;
224 SIZE_T src_slice_pitch
;
225 SIZE_T dst_row_pitch
;
226 SIZE_T dst_slice_pitch
;
227 uint32_t num_events_in_wait_list
;
228 const cl_event
* event_wait_list
;
232 struct clEnqueueCopyBufferToImage_params
234 cl_command_queue command_queue
;
238 const size_t* dst_origin
;
239 const size_t* region
;
240 uint32_t num_events_in_wait_list
;
241 const cl_event
* event_wait_list
;
245 struct clEnqueueCopyImage_params
247 cl_command_queue command_queue
;
250 const size_t* src_origin
;
251 const size_t* dst_origin
;
252 const size_t* region
;
253 uint32_t num_events_in_wait_list
;
254 const cl_event
* event_wait_list
;
258 struct clEnqueueCopyImageToBuffer_params
260 cl_command_queue command_queue
;
263 const size_t* src_origin
;
264 const size_t* region
;
266 uint32_t num_events_in_wait_list
;
267 const cl_event
* event_wait_list
;
271 struct clEnqueueFillBuffer_params
273 cl_command_queue command_queue
;
279 uint32_t num_events_in_wait_list
;
280 const cl_event
* event_wait_list
;
284 struct clEnqueueFillImage_params
286 cl_command_queue command_queue
;
288 const void* fill_color
;
289 const size_t* origin
;
290 const size_t* region
;
291 uint32_t num_events_in_wait_list
;
292 const cl_event
* event_wait_list
;
296 struct clEnqueueMapBuffer_params
299 cl_command_queue command_queue
;
301 uint32_t blocking_map
;
305 uint32_t num_events_in_wait_list
;
306 const cl_event
* event_wait_list
;
311 struct clEnqueueMapImage_params
314 cl_command_queue command_queue
;
316 uint32_t blocking_map
;
318 const size_t* origin
;
319 const size_t* region
;
320 size_t* image_row_pitch
;
321 size_t* image_slice_pitch
;
322 uint32_t num_events_in_wait_list
;
323 const cl_event
* event_wait_list
;
328 struct clEnqueueMarker_params
330 cl_command_queue command_queue
;
334 struct clEnqueueMarkerWithWaitList_params
336 cl_command_queue command_queue
;
337 uint32_t num_events_in_wait_list
;
338 const cl_event
* event_wait_list
;
342 struct clEnqueueMigrateMemObjects_params
344 cl_command_queue command_queue
;
345 uint32_t num_mem_objects
;
346 const cl_mem
* mem_objects
;
348 uint32_t num_events_in_wait_list
;
349 const cl_event
* event_wait_list
;
353 struct clEnqueueNDRangeKernel_params
355 cl_command_queue command_queue
;
358 const size_t* global_work_offset
;
359 const size_t* global_work_size
;
360 const size_t* local_work_size
;
361 uint32_t num_events_in_wait_list
;
362 const cl_event
* event_wait_list
;
366 struct clEnqueueNativeKernel_params
368 cl_command_queue command_queue
;
369 void (WINAPI
* user_func
)(void*);
372 uint32_t num_mem_objects
;
373 const cl_mem
* mem_list
;
374 const void** args_mem_loc
;
375 uint32_t num_events_in_wait_list
;
376 const cl_event
* event_wait_list
;
380 struct clEnqueueReadBuffer_params
382 cl_command_queue command_queue
;
384 uint32_t blocking_read
;
388 uint32_t num_events_in_wait_list
;
389 const cl_event
* event_wait_list
;
393 struct clEnqueueReadBufferRect_params
395 cl_command_queue command_queue
;
397 uint32_t blocking_read
;
398 const size_t* buffer_origin
;
399 const size_t* host_origin
;
400 const size_t* region
;
401 SIZE_T buffer_row_pitch
;
402 SIZE_T buffer_slice_pitch
;
403 SIZE_T host_row_pitch
;
404 SIZE_T host_slice_pitch
;
406 uint32_t num_events_in_wait_list
;
407 const cl_event
* event_wait_list
;
411 struct clEnqueueReadImage_params
413 cl_command_queue command_queue
;
415 uint32_t blocking_read
;
416 const size_t* origin
;
417 const size_t* region
;
421 uint32_t num_events_in_wait_list
;
422 const cl_event
* event_wait_list
;
426 struct clEnqueueTask_params
428 cl_command_queue command_queue
;
430 uint32_t num_events_in_wait_list
;
431 const cl_event
* event_wait_list
;
435 struct clEnqueueUnmapMemObject_params
437 cl_command_queue command_queue
;
440 uint32_t num_events_in_wait_list
;
441 const cl_event
* event_wait_list
;
445 struct clEnqueueWaitForEvents_params
447 cl_command_queue command_queue
;
449 const cl_event
* event_list
;
452 struct clEnqueueWriteBuffer_params
454 cl_command_queue command_queue
;
456 uint32_t blocking_write
;
460 uint32_t num_events_in_wait_list
;
461 const cl_event
* event_wait_list
;
465 struct clEnqueueWriteBufferRect_params
467 cl_command_queue command_queue
;
469 uint32_t blocking_write
;
470 const size_t* buffer_origin
;
471 const size_t* host_origin
;
472 const size_t* region
;
473 SIZE_T buffer_row_pitch
;
474 SIZE_T buffer_slice_pitch
;
475 SIZE_T host_row_pitch
;
476 SIZE_T host_slice_pitch
;
478 uint32_t num_events_in_wait_list
;
479 const cl_event
* event_wait_list
;
483 struct clEnqueueWriteImage_params
485 cl_command_queue command_queue
;
487 uint32_t blocking_write
;
488 const size_t* origin
;
489 const size_t* region
;
490 SIZE_T input_row_pitch
;
491 SIZE_T input_slice_pitch
;
493 uint32_t num_events_in_wait_list
;
494 const cl_event
* event_wait_list
;
498 struct clFinish_params
500 cl_command_queue command_queue
;
503 struct clFlush_params
505 cl_command_queue command_queue
;
508 struct clGetCommandQueueInfo_params
510 cl_command_queue command_queue
;
512 SIZE_T param_value_size
;
514 size_t* param_value_size_ret
;
517 struct clGetContextInfo_params
521 SIZE_T param_value_size
;
523 size_t* param_value_size_ret
;
526 struct clGetDeviceIDs_params
528 cl_platform_id platform
;
529 ULONGLONG device_type
;
530 uint32_t num_entries
;
531 cl_device_id
* devices
;
532 cl_uint
* num_devices
;
535 struct clGetDeviceInfo_params
539 SIZE_T param_value_size
;
541 size_t* param_value_size_ret
;
544 struct clGetEventInfo_params
548 SIZE_T param_value_size
;
550 size_t* param_value_size_ret
;
553 struct clGetEventProfilingInfo_params
557 SIZE_T param_value_size
;
559 size_t* param_value_size_ret
;
562 struct clGetImageInfo_params
566 SIZE_T param_value_size
;
568 size_t* param_value_size_ret
;
571 struct clGetKernelArgInfo_params
576 SIZE_T param_value_size
;
578 size_t* param_value_size_ret
;
581 struct clGetKernelInfo_params
585 SIZE_T param_value_size
;
587 size_t* param_value_size_ret
;
590 struct clGetKernelWorkGroupInfo_params
595 SIZE_T param_value_size
;
597 size_t* param_value_size_ret
;
600 struct clGetMemObjectInfo_params
604 SIZE_T param_value_size
;
606 size_t* param_value_size_ret
;
609 struct clGetPlatformIDs_params
611 uint32_t num_entries
;
612 cl_platform_id
* platforms
;
613 cl_uint
* num_platforms
;
616 struct clGetPlatformInfo_params
618 cl_platform_id platform
;
620 SIZE_T param_value_size
;
622 size_t* param_value_size_ret
;
625 struct clGetProgramBuildInfo_params
630 SIZE_T param_value_size
;
632 size_t* param_value_size_ret
;
635 struct clGetProgramInfo_params
639 SIZE_T param_value_size
;
641 size_t* param_value_size_ret
;
644 struct clGetSamplerInfo_params
648 SIZE_T param_value_size
;
650 size_t* param_value_size_ret
;
653 struct clGetSupportedImageFormats_params
658 uint32_t num_entries
;
659 cl_image_format
* image_formats
;
660 cl_uint
* num_image_formats
;
663 struct clLinkProgram_params
665 cl_program
* __retval
;
667 uint32_t num_devices
;
668 const cl_device_id
* device_list
;
670 uint32_t num_input_programs
;
671 const cl_program
* input_programs
;
672 void (WINAPI
* pfn_notify
)(cl_program program
, void* user_data
);
677 struct clReleaseCommandQueue_params
679 cl_command_queue command_queue
;
682 struct clReleaseContext_params
687 struct clReleaseDevice_params
692 struct clReleaseEvent_params
697 struct clReleaseKernel_params
702 struct clReleaseMemObject_params
707 struct clReleaseProgram_params
712 struct clReleaseSampler_params
717 struct clRetainCommandQueue_params
719 cl_command_queue command_queue
;
722 struct clRetainContext_params
727 struct clRetainDevice_params
732 struct clRetainEvent_params
737 struct clRetainKernel_params
742 struct clRetainMemObject_params
747 struct clRetainProgram_params
752 struct clRetainSampler_params
757 struct clSetEventCallback_params
760 int32_t command_exec_callback_type
;
761 void (WINAPI
* pfn_notify
)(cl_event event
, cl_int event_command_status
, void *user_data
);
765 struct clSetKernelArg_params
770 const void* arg_value
;
773 struct clSetMemObjectDestructorCallback_params
776 void (WINAPI
* pfn_notify
)(cl_mem memobj
, void* user_data
);
780 struct clSetUserEventStatus_params
783 int32_t execution_status
;
786 struct clUnloadCompiler_params
790 struct clUnloadPlatformCompiler_params
792 cl_platform_id platform
;
795 struct clWaitForEvents_params
798 const cl_event
* event_list
;
804 unix_clCompileProgram
,
806 unix_clCreateCommandQueue
,
807 unix_clCreateContext
,
808 unix_clCreateContextFromType
,
810 unix_clCreateImage2D
,
811 unix_clCreateImage3D
,
813 unix_clCreateKernelsInProgram
,
814 unix_clCreateProgramWithBinary
,
815 unix_clCreateProgramWithBuiltInKernels
,
816 unix_clCreateProgramWithSource
,
817 unix_clCreateSampler
,
818 unix_clCreateSubBuffer
,
819 unix_clCreateSubDevices
,
820 unix_clCreateUserEvent
,
821 unix_clEnqueueBarrier
,
822 unix_clEnqueueBarrierWithWaitList
,
823 unix_clEnqueueCopyBuffer
,
824 unix_clEnqueueCopyBufferRect
,
825 unix_clEnqueueCopyBufferToImage
,
826 unix_clEnqueueCopyImage
,
827 unix_clEnqueueCopyImageToBuffer
,
828 unix_clEnqueueFillBuffer
,
829 unix_clEnqueueFillImage
,
830 unix_clEnqueueMapBuffer
,
831 unix_clEnqueueMapImage
,
832 unix_clEnqueueMarker
,
833 unix_clEnqueueMarkerWithWaitList
,
834 unix_clEnqueueMigrateMemObjects
,
835 unix_clEnqueueNDRangeKernel
,
836 unix_clEnqueueNativeKernel
,
837 unix_clEnqueueReadBuffer
,
838 unix_clEnqueueReadBufferRect
,
839 unix_clEnqueueReadImage
,
841 unix_clEnqueueUnmapMemObject
,
842 unix_clEnqueueWaitForEvents
,
843 unix_clEnqueueWriteBuffer
,
844 unix_clEnqueueWriteBufferRect
,
845 unix_clEnqueueWriteImage
,
848 unix_clGetCommandQueueInfo
,
849 unix_clGetContextInfo
,
851 unix_clGetDeviceInfo
,
853 unix_clGetEventProfilingInfo
,
855 unix_clGetKernelArgInfo
,
856 unix_clGetKernelInfo
,
857 unix_clGetKernelWorkGroupInfo
,
858 unix_clGetMemObjectInfo
,
859 unix_clGetPlatformIDs
,
860 unix_clGetPlatformInfo
,
861 unix_clGetProgramBuildInfo
,
862 unix_clGetProgramInfo
,
863 unix_clGetSamplerInfo
,
864 unix_clGetSupportedImageFormats
,
866 unix_clReleaseCommandQueue
,
867 unix_clReleaseContext
,
868 unix_clReleaseDevice
,
870 unix_clReleaseKernel
,
871 unix_clReleaseMemObject
,
872 unix_clReleaseProgram
,
873 unix_clReleaseSampler
,
874 unix_clRetainCommandQueue
,
875 unix_clRetainContext
,
879 unix_clRetainMemObject
,
880 unix_clRetainProgram
,
881 unix_clRetainSampler
,
882 unix_clSetEventCallback
,
884 unix_clSetMemObjectDestructorCallback
,
885 unix_clSetUserEventStatus
,
886 unix_clUnloadCompiler
,
887 unix_clUnloadPlatformCompiler
,
888 unix_clWaitForEvents
,