HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cl_icd.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (c) 2019-2020 The Khronos Group Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  ******************************************************************************/
16 
17 #ifndef OPENCL_CL_ICD_H
18 #define OPENCL_CL_ICD_H
19 
20 #include <CL/cl.h>
21 #include <CL/cl_egl.h>
22 #include <CL/cl_ext.h>
23 #include <CL/cl_gl.h>
24 
25 #if defined(_WIN32)
26 #include <CL/cl_d3d11.h>
27 #include <CL/cl_d3d10.h>
29 #endif
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /*
36  * This file contains pointer type definitions for each of the CL API calls as
37  * well as a type definition for the dispatch table used by the Khronos ICD
38  * loader (see cl_khr_icd extension specification for background).
39  */
40 
41 /* API function pointer definitions */
42 
43 // Platform APIs
45  cl_uint num_entries, cl_platform_id *platforms,
46  cl_uint *num_platforms) CL_API_SUFFIX__VERSION_1_0;
47 
49  cl_platform_id platform, cl_platform_info param_name,
50  size_t param_value_size, void *param_value,
51  size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
52 
53 // Device APIs
55  cl_platform_id platform, cl_device_type device_type, cl_uint num_entries,
56  cl_device_id *devices, cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_0;
57 
59  cl_device_id device, cl_device_info param_name, size_t param_value_size,
60  void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
61 
62 #ifdef CL_VERSION_1_2
63 
65  cl_device_id in_device,
66  const cl_device_partition_property *partition_properties,
67  cl_uint num_entries, cl_device_id *out_devices, cl_uint *num_devices);
68 
71 
74 
75 #else
76 
78 typedef void *cl_api_clRetainDevice;
79 typedef void *cl_api_clReleaseDevice;
80 
81 #endif
82 
83 // Context APIs
85  const cl_context_properties *properties, cl_uint num_devices,
86  const cl_device_id *devices,
87  void(CL_CALLBACK *pfn_notify)(const char *, const void *, size_t, void *),
88  void *user_data, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
89 
91  const cl_context_properties *properties, cl_device_type device_type,
92  void(CL_CALLBACK *pfn_notify)(const char *, const void *, size_t, void *),
93  void *user_data, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
94 
96  cl_context context) CL_API_SUFFIX__VERSION_1_0;
97 
99  cl_context context) CL_API_SUFFIX__VERSION_1_0;
100 
102  cl_context context, cl_context_info param_name, size_t param_value_size,
103  void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
104 
105 // Command Queue APIs
107  cl_context context, cl_device_id device,
108  cl_command_queue_properties properties,
109  cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
110 
111 #ifdef CL_VERSION_2_0
112 
113 typedef
115  cl_context /* context */, cl_device_id /* device */,
116  const cl_queue_properties * /* properties */,
117  cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_2_0;
118 
119 #else
120 
122 
123 #endif
124 
126  cl_command_queue command_queue) CL_API_SUFFIX__VERSION_1_0;
127 
129  cl_command_queue command_queue) CL_API_SUFFIX__VERSION_1_0;
130 
132  cl_command_queue command_queue, cl_command_queue_info param_name,
133  size_t param_value_size, void *param_value,
134  size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
135 
136 // Memory Object APIs
138  cl_context context, cl_mem_flags flags, size_t size, void *host_ptr,
139  cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
140 
141 #ifdef CL_VERSION_1_2
142 
144  cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
145  const cl_image_desc *image_desc, void *host_ptr,
146  cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
147 
148 #else
149 
150 typedef void *cl_api_clCreateImage;
151 
152 #endif
153 
154 #ifdef CL_VERSION_3_0
155 
157  cl_context context, const cl_mem_properties *properties, cl_mem_flags flags,
158  size_t size, void *host_ptr,
159  cl_int *errcode_ret) CL_API_SUFFIX__VERSION_3_0;
160 
162  cl_context context, const cl_mem_properties *properties, cl_mem_flags flags,
163  const cl_image_format *image_format, const cl_image_desc *image_desc,
164  void *host_ptr, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_3_0;
165 
167  cl_context context,
168  void(CL_CALLBACK* pfn_notify)(cl_context context, void* user_data),
169  void* user_data) CL_API_SUFFIX__VERSION_3_0;
170 
171 #else
172 
176 
177 #endif
178 
180  cl_mem memobj) CL_API_SUFFIX__VERSION_1_0;
181 
183  cl_mem memobj) CL_API_SUFFIX__VERSION_1_0;
184 
186  cl_context context, cl_mem_flags flags, cl_mem_object_type image_type,
187  cl_uint num_entries, cl_image_format *image_formats,
188  cl_uint *num_image_formats) CL_API_SUFFIX__VERSION_1_0;
189 
191  cl_mem memobj, cl_mem_info param_name, size_t param_value_size,
192  void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
193 
195  cl_mem image, cl_image_info param_name, size_t param_value_size,
196  void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
197 
198 #ifdef CL_VERSION_2_0
199 
201  cl_context /* context */, cl_mem_flags /* flags */,
202  cl_uint /* pipe_packet_size */, cl_uint /* pipe_max_packets */,
203  const cl_pipe_properties * /* properties */,
204  cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_2_0;
205 
207  cl_mem /* pipe */, cl_pipe_info /* param_name */,
208  size_t /* param_value_size */, void * /* param_value */,
209  size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_2_0;
210 
211 typedef void *(CL_API_CALL *cl_api_clSVMAlloc)(
212  cl_context /* context */, cl_svm_mem_flags /* flags */, size_t /* size */,
213  unsigned int /* alignment */)CL_API_SUFFIX__VERSION_2_0;
214 
216  cl_context /* context */,
217  void * /* svm_pointer */) CL_API_SUFFIX__VERSION_2_0;
218 
219 #else
220 
221 typedef void *cl_api_clCreatePipe;
222 typedef void *cl_api_clGetPipeInfo;
223 typedef void *cl_api_clSVMAlloc;
224 typedef void *cl_api_clSVMFree;
225 
226 #endif
227 
228 // Sampler APIs
230  cl_context context, cl_bool normalized_coords,
231  cl_addressing_mode addressing_mode, cl_filter_mode filter_mode,
232  cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
233 
235  cl_sampler sampler) CL_API_SUFFIX__VERSION_1_0;
236 
238  cl_sampler sampler) CL_API_SUFFIX__VERSION_1_0;
239 
241  cl_sampler sampler, cl_sampler_info param_name, size_t param_value_size,
242  void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
243 
244 #ifdef CL_VERSION_2_0
245 
246 typedef
248  cl_context /* context */,
249  const cl_sampler_properties * /* sampler_properties */,
250  cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_2_0;
251 
252 #else
253 
255 
256 #endif
257 
258 // Program Object APIs
260  cl_context context, cl_uint count, const char **strings,
261  const size_t *lengths, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
262 
264  cl_context context, cl_uint num_devices, const cl_device_id *device_list,
265  const size_t *lengths, const unsigned char **binaries,
266  cl_int *binary_status, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
267 
268 #ifdef CL_VERSION_1_2
269 
270 typedef
272  cl_context context, cl_uint num_devices, const cl_device_id *device_list,
273  const char *kernel_names, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
274 
275 #else
276 
278 
279 #endif
280 
282  cl_program program) CL_API_SUFFIX__VERSION_1_0;
283 
285  cl_program program) CL_API_SUFFIX__VERSION_1_0;
286 
288  cl_program program, cl_uint num_devices, const cl_device_id *device_list,
289  const char *options,
290  void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data),
291  void *user_data) CL_API_SUFFIX__VERSION_1_0;
292 
293 #ifdef CL_VERSION_1_2
294 
296  cl_program program, cl_uint num_devices, const cl_device_id *device_list,
297  const char *options, cl_uint num_input_headers,
298  const cl_program *input_headers, const char **header_include_names,
299  void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data),
300  void *user_data) CL_API_SUFFIX__VERSION_1_2;
301 
303  cl_context context, cl_uint num_devices, const cl_device_id *device_list,
304  const char *options, cl_uint num_input_programs,
305  const cl_program *input_programs,
306  void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data),
307  void *user_data, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
308 
309 #else
310 
312 typedef void *cl_api_clLinkProgram;
313 
314 #endif
315 
316 #ifdef CL_VERSION_2_2
317 
318 typedef
320  cl_program program, cl_uint spec_id, size_t spec_size,
321  const void *spec_value) CL_API_SUFFIX__VERSION_2_2;
322 
325  void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data),
326  void *user_data) CL_API_SUFFIX__VERSION_2_2;
327 
328 #else
329 
332 
333 #endif
334 
335 #ifdef CL_VERSION_1_2
336 
338  cl_platform_id platform) CL_API_SUFFIX__VERSION_1_2;
339 
340 #else
341 
343 
344 #endif
345 
347  cl_program program, cl_program_info param_name, size_t param_value_size,
348  void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
349 
351  cl_program program, cl_device_id device, cl_program_build_info param_name,
352  size_t param_value_size, void *param_value,
353  size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
354 
355 // Kernel Object APIs
357  cl_program program, const char *kernel_name,
358  cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
359 
361  cl_program program, cl_uint num_kernels, cl_kernel *kernels,
362  cl_uint *num_kernels_ret) CL_API_SUFFIX__VERSION_1_0;
363 
365  cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0;
366 
368  cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0;
369 
371  cl_kernel kernel, cl_uint arg_index, size_t arg_size,
372  const void *arg_value) CL_API_SUFFIX__VERSION_1_0;
373 
375  cl_kernel kernel, cl_kernel_info param_name, size_t param_value_size,
376  void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
377 
378 #ifdef CL_VERSION_1_2
379 
381  cl_kernel kernel, cl_uint arg_indx, cl_kernel_arg_info param_name,
382  size_t param_value_size, void *param_value,
383  size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_2;
384 
385 #else
386 
388 
389 #endif
390 
392  cl_kernel kernel, cl_device_id device, cl_kernel_work_group_info param_name,
393  size_t param_value_size, void *param_value,
394  size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
395 
396 #ifdef CL_VERSION_2_0
397 
399  cl_kernel /* kernel */, cl_uint /* arg_index */,
400  const void * /* arg_value */) CL_API_SUFFIX__VERSION_2_0;
401 
403  cl_kernel /* kernel */, cl_kernel_exec_info /* param_name */,
404  size_t /* param_value_size */,
405  const void * /* param_value */) CL_API_SUFFIX__VERSION_2_0;
406 
408  cl_kernel /* in_kernel */, cl_device_id /*in_device*/,
409  cl_kernel_sub_group_info /* param_name */, size_t /*input_value_size*/,
410  const void * /*input_value*/, size_t /*param_value_size*/,
411  void * /*param_value*/,
412  size_t * /*param_value_size_ret*/) CL_API_SUFFIX__VERSION_2_0;
413 
414 #else
415 
419 
420 #endif
421 
422 // Event Object APIs
424  cl_uint num_events, const cl_event *event_list) CL_API_SUFFIX__VERSION_1_0;
425 
427  cl_event event, cl_event_info param_name, size_t param_value_size,
428  void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
429 
431  CL_API_SUFFIX__VERSION_1_0;
432 
434  CL_API_SUFFIX__VERSION_1_0;
435 
436 // Profiling APIs
438  cl_event event, cl_profiling_info param_name, size_t param_value_size,
439  void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
440 
441 // Flush and Finish APIs
443  cl_command_queue command_queue) CL_API_SUFFIX__VERSION_1_0;
444 
446  cl_command_queue command_queue) CL_API_SUFFIX__VERSION_1_0;
447 
448 // Enqueued Commands APIs
450  cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read,
451  size_t offset, size_t cb, void *ptr, cl_uint num_events_in_wait_list,
452  const cl_event *event_wait_list,
453  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
454 
455 #ifdef CL_VERSION_1_1
456 
458  cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read,
459  const size_t *buffer_origin, const size_t *host_origin,
460  const size_t *region, size_t buffer_row_pitch, size_t buffer_slice_pitch,
461  size_t host_row_pitch, size_t host_slice_pitch, void *ptr,
462  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
464 
465 #else
466 
468 
469 #endif
470 
472  cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_write,
473  size_t offset, size_t cb, const void *ptr, cl_uint num_events_in_wait_list,
474  const cl_event *event_wait_list,
475  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
476 
477 #ifdef CL_VERSION_1_1
478 
480  cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read,
481  const size_t *buffer_origin, const size_t *host_origin,
482  const size_t *region, size_t buffer_row_pitch, size_t buffer_slice_pitch,
483  size_t host_row_pitch, size_t host_slice_pitch, const void *ptr,
484  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
486 
487 #else
488 
490 
491 #endif
492 
493 #ifdef CL_VERSION_1_2
494 
496  cl_command_queue command_queue, cl_mem buffer, const void *pattern,
497  size_t pattern_size, size_t offset, size_t cb,
498  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
499  cl_event *event) CL_API_SUFFIX__VERSION_1_2;
500 
501 #else
502 
504 
505 #endif
506 
508  cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer,
509  size_t src_offset, size_t dst_offset, size_t cb,
510  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
511  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
512 
513 #ifdef CL_VERSION_1_1
514 
516  cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer,
517  const size_t *src_origin, const size_t *dst_origin, const size_t *region,
518  size_t src_row_pitch, size_t src_slice_pitch, size_t dst_row_pitch,
519  size_t dst_slice_pitch, cl_uint num_events_in_wait_list,
520  const cl_event *event_wait_list,
522 
523 #else
524 
526 
527 #endif
528 
530  cl_command_queue command_queue, cl_mem image, cl_bool blocking_read,
531  const size_t *origin, const size_t *region, size_t row_pitch,
532  size_t slice_pitch, void *ptr, cl_uint num_events_in_wait_list,
533  const cl_event *event_wait_list,
534  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
535 
537  cl_command_queue command_queue, cl_mem image, cl_bool blocking_write,
538  const size_t *origin, const size_t *region, size_t input_row_pitch,
539  size_t input_slice_pitch, const void *ptr, cl_uint num_events_in_wait_list,
540  const cl_event *event_wait_list,
541  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
542 
543 #ifdef CL_VERSION_1_2
544 
546  cl_command_queue command_queue, cl_mem image, const void *fill_color,
547  const size_t origin[3], const size_t region[3],
548  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
549  cl_event *event) CL_API_SUFFIX__VERSION_1_2;
550 
551 #else
552 
554 
555 #endif
556 
558  cl_command_queue command_queue, cl_mem src_image, cl_mem dst_image,
559  const size_t *src_origin, const size_t *dst_origin, const size_t *region,
560  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
561  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
562 
564  cl_command_queue command_queue, cl_mem src_image, cl_mem dst_buffer,
565  const size_t *src_origin, const size_t *region, size_t dst_offset,
566  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
567  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
568 
570  cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_image,
571  size_t src_offset, const size_t *dst_origin, const size_t *region,
572  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
573  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
574 
576  cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_map,
577  cl_map_flags map_flags, size_t offset, size_t cb,
578  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
579  cl_event *event, cl_int *errcode_ret)CL_API_SUFFIX__VERSION_1_0;
580 
582  cl_command_queue command_queue, cl_mem image, cl_bool blocking_map,
583  cl_map_flags map_flags, const size_t *origin, const size_t *region,
584  size_t *image_row_pitch, size_t *image_slice_pitch,
585  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
586  cl_event *event, cl_int *errcode_ret)CL_API_SUFFIX__VERSION_1_0;
587 
589  cl_command_queue command_queue, cl_mem memobj, void *mapped_ptr,
590  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
591  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
592 
593 #ifdef CL_VERSION_1_2
594 
596  cl_command_queue command_queue, cl_uint num_mem_objects,
597  const cl_mem *mem_objects, cl_mem_migration_flags flags,
598  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
599  cl_event *event) CL_API_SUFFIX__VERSION_1_2;
600 
601 #else
602 
604 
605 #endif
606 
608  cl_command_queue command_queue, cl_kernel kernel, cl_uint work_dim,
609  const size_t *global_work_offset, const size_t *global_work_size,
610  const size_t *local_work_size, cl_uint num_events_in_wait_list,
611  const cl_event *event_wait_list,
612  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
613 
615  cl_command_queue command_queue, cl_kernel kernel,
616  cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
617  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
618 
620  cl_command_queue command_queue, void(CL_CALLBACK *user_func)(void *),
621  void *args, size_t cb_args, cl_uint num_mem_objects, const cl_mem *mem_list,
622  const void **args_mem_loc, cl_uint num_events_in_wait_list,
623  const cl_event *event_wait_list,
625 
626 #ifdef CL_VERSION_1_2
627 
629  cl_command_queue command_queue, cl_uint num_events_in_wait_list,
630  const cl_event *event_wait_list,
631  cl_event *event) CL_API_SUFFIX__VERSION_1_2;
632 
634  cl_command_queue command_queue, cl_uint num_events_in_wait_list,
635  const cl_event *event_wait_list,
636  cl_event *event) CL_API_SUFFIX__VERSION_1_2;
637 
638 typedef void *(
640  cl_platform_id platform,
641  const char *function_name)CL_API_SUFFIX__VERSION_1_2;
642 
643 #else
644 
648 
649 #endif
650 
651 // Shared Virtual Memory APIs
652 
653 #ifdef CL_VERSION_2_0
654 
656  cl_command_queue /* command_queue */, cl_uint /* num_svm_pointers */,
657  void ** /* svm_pointers */,
658  void(CL_CALLBACK *pfn_free_func)(cl_command_queue /* queue */,
659  cl_uint /* num_svm_pointers */,
660  void ** /* svm_pointers[] */,
661  void * /* user_data */),
662  void * /* user_data */, cl_uint /* num_events_in_wait_list */,
663  const cl_event * /* event_wait_list */,
664  cl_event * /* event */) CL_API_SUFFIX__VERSION_2_0;
665 
667  cl_command_queue /* command_queue */, cl_bool /* blocking_copy */,
668  void * /* dst_ptr */, const void * /* src_ptr */, size_t /* size */,
669  cl_uint /* num_events_in_wait_list */,
670  const cl_event * /* event_wait_list */,
671  cl_event * /* event */) CL_API_SUFFIX__VERSION_2_0;
672 
674  cl_command_queue /* command_queue */, void * /* svm_ptr */,
675  const void * /* pattern */, size_t /* pattern_size */, size_t /* size */,
676  cl_uint /* num_events_in_wait_list */,
677  const cl_event * /* event_wait_list */,
678  cl_event * /* event */) CL_API_SUFFIX__VERSION_2_0;
679 
681  cl_command_queue /* command_queue */, cl_bool /* blocking_map */,
682  cl_map_flags /* map_flags */, void * /* svm_ptr */, size_t /* size */,
683  cl_uint /* num_events_in_wait_list */,
684  const cl_event * /* event_wait_list */,
685  cl_event * /* event */) CL_API_SUFFIX__VERSION_2_0;
686 
688  cl_command_queue /* command_queue */, void * /* svm_ptr */,
689  cl_uint /* num_events_in_wait_list */,
690  const cl_event * /* event_wait_list */,
691  cl_event * /* event */) CL_API_SUFFIX__VERSION_2_0;
692 
693 #else
694 
700 
701 #endif
702 
703 // Deprecated APIs
705  cl_command_queue command_queue, cl_command_queue_properties properties,
706  cl_bool enable, cl_command_queue_properties *old_properties)
708 
710  cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
711  size_t image_width, size_t image_height, size_t image_row_pitch,
712  void *host_ptr, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_1_DEPRECATED;
713 
715  cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
716  size_t image_width, size_t image_height, size_t image_depth,
717  size_t image_row_pitch, size_t image_slice_pitch, void *host_ptr,
719 
722 
724  cl_command_queue command_queue,
726 
728  cl_command_queue command_queue, cl_uint num_events,
729  const cl_event *event_list) CL_API_SUFFIX__VERSION_1_1_DEPRECATED;
730 
732  cl_command_queue command_queue) CL_API_SUFFIX__VERSION_1_1_DEPRECATED;
733 
735  const char *function_name)CL_API_SUFFIX__VERSION_1_1_DEPRECATED;
736 
737 // GL and other APIs
739  cl_context context, cl_mem_flags flags, cl_GLuint bufobj,
740  int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
741 
743  cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel,
744  cl_GLuint texture, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
745 
747  cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel,
748  cl_GLuint texture, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
749 
751  cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel,
752  cl_GLuint texture, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
753 
755  cl_context context, cl_mem_flags flags, cl_GLuint renderbuffer,
756  cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
757 
759  cl_mem memobj, cl_gl_object_type *gl_object_type,
760  cl_GLuint *gl_object_name) CL_API_SUFFIX__VERSION_1_0;
761 
763  cl_mem memobj, cl_gl_texture_info param_name, size_t param_value_size,
764  void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0;
765 
767  cl_command_queue command_queue, cl_uint num_objects,
768  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
769  const cl_event *event_wait_list,
770  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
771 
773  cl_command_queue command_queue, cl_uint num_objects,
774  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
775  const cl_event *event_wait_list,
776  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
777 
778 /* cl_khr_gl_sharing */
780  const cl_context_properties *properties, cl_gl_context_info param_name,
781  size_t param_value_size, void *param_value, size_t *param_value_size_ret);
782 
783 /* cl_khr_gl_event */
785  cl_context context, cl_GLsync sync, cl_int *errcode_ret);
786 
787 #if defined(_WIN32)
788 
789 /* cl_khr_d3d10_sharing */
790 
792  cl_platform_id platform, cl_d3d10_device_source_khr d3d_device_source,
793  void *d3d_object, cl_d3d10_device_set_khr d3d_device_set,
794  cl_uint num_entries, cl_device_id *devices,
795  cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_0;
796 
798  cl_context context, cl_mem_flags flags, ID3D10Buffer *resource,
799  cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
800 
802  cl_context context, cl_mem_flags flags, ID3D10Texture2D *resource,
803  UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
804 
806  cl_context context, cl_mem_flags flags, ID3D10Texture3D *resource,
807  UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
808 
809 typedef
811  cl_command_queue command_queue, cl_uint num_objects,
812  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
813  const cl_event *event_wait_list,
814  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
815 
816 typedef
818  cl_command_queue command_queue, cl_uint num_objects,
819  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
820  const cl_event *event_wait_list,
821  cl_event *event) CL_API_SUFFIX__VERSION_1_0;
822 
823 extern CL_API_ENTRY cl_int CL_API_CALL clGetDeviceIDsFromD3D10KHR(
824  cl_platform_id platform, cl_d3d10_device_source_khr d3d_device_source,
825  void *d3d_object, cl_d3d10_device_set_khr d3d_device_set,
826  cl_uint num_entries, cl_device_id *devices, cl_uint *num_devices);
827 
828 extern CL_API_ENTRY cl_mem CL_API_CALL
829 clCreateFromD3D10BufferKHR(cl_context context, cl_mem_flags flags,
830  ID3D10Buffer *resource, cl_int *errcode_ret);
831 
832 extern CL_API_ENTRY cl_mem CL_API_CALL clCreateFromD3D10Texture2DKHR(
833  cl_context context, cl_mem_flags flags, ID3D10Texture2D *resource,
834  UINT subresource, cl_int *errcode_ret);
835 
836 extern CL_API_ENTRY cl_mem CL_API_CALL clCreateFromD3D10Texture3DKHR(
837  cl_context context, cl_mem_flags flags, ID3D10Texture3D *resource,
838  UINT subresource, cl_int *errcode_ret);
839 
840 extern CL_API_ENTRY cl_int CL_API_CALL clEnqueueAcquireD3D10ObjectsKHR(
841  cl_command_queue command_queue, cl_uint num_objects,
842  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
843  const cl_event *event_wait_list, cl_event *event);
844 
845 extern CL_API_ENTRY cl_int CL_API_CALL clEnqueueReleaseD3D10ObjectsKHR(
846  cl_command_queue command_queue, cl_uint num_objects,
847  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
848  const cl_event *event_wait_list, cl_event *event);
849 
850 /* cl_khr_d3d11_sharing */
852  cl_platform_id platform, cl_d3d11_device_source_khr d3d_device_source,
853  void *d3d_object, cl_d3d11_device_set_khr d3d_device_set,
854  cl_uint num_entries, cl_device_id *devices,
855  cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_2;
856 
858  cl_context context, cl_mem_flags flags, ID3D11Buffer *resource,
859  cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
860 
862  cl_context context, cl_mem_flags flags, ID3D11Texture2D *resource,
863  UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
864 
866  cl_context context, cl_mem_flags flags, ID3D11Texture3D *resource,
867  UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
868 
869 typedef
871  cl_command_queue command_queue, cl_uint num_objects,
872  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
873  const cl_event *event_wait_list,
874  cl_event *event) CL_API_SUFFIX__VERSION_1_2;
875 
876 typedef
878  cl_command_queue command_queue, cl_uint num_objects,
879  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
880  const cl_event *event_wait_list,
881  cl_event *event) CL_API_SUFFIX__VERSION_1_2;
882 
883 /* cl_khr_dx9_media_sharing */
884 typedef
886  cl_platform_id platform, cl_uint num_media_adapters,
887  cl_dx9_media_adapter_type_khr *media_adapters_type, void *media_adapters,
888  cl_dx9_media_adapter_set_khr media_adapter_set, cl_uint num_entries,
889  cl_device_id *devices, cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_2;
890 
892  cl_context context, cl_mem_flags flags,
893  cl_dx9_media_adapter_type_khr adapter_type, void *surface_info,
894  cl_uint plane, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
895 
896 typedef
898  cl_command_queue command_queue, cl_uint num_objects,
899  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
900  const cl_event *event_wait_list,
901  cl_event *event) CL_API_SUFFIX__VERSION_1_2;
902 
903 typedef
905  cl_command_queue command_queue, cl_uint num_objects,
906  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
907  const cl_event *event_wait_list,
908  cl_event *event) CL_API_SUFFIX__VERSION_1_2;
909 
910 /* cl_khr_d3d11_sharing */
911 extern CL_API_ENTRY cl_int CL_API_CALL clGetDeviceIDsFromD3D11KHR(
912  cl_platform_id platform, cl_d3d11_device_source_khr d3d_device_source,
913  void *d3d_object, cl_d3d11_device_set_khr d3d_device_set,
914  cl_uint num_entries, cl_device_id *devices, cl_uint *num_devices);
915 
916 extern CL_API_ENTRY cl_mem CL_API_CALL
917 clCreateFromD3D11BufferKHR(cl_context context, cl_mem_flags flags,
918  ID3D11Buffer *resource, cl_int *errcode_ret);
919 
920 extern CL_API_ENTRY cl_mem CL_API_CALL clCreateFromD3D11Texture2DKHR(
921  cl_context context, cl_mem_flags flags, ID3D11Texture2D *resource,
922  UINT subresource, cl_int *errcode_ret);
923 
924 extern CL_API_ENTRY cl_mem CL_API_CALL clCreateFromD3D11Texture3DKHR(
925  cl_context context, cl_mem_flags flags, ID3D11Texture3D *resource,
926  UINT subresource, cl_int *errcode_ret);
927 
928 extern CL_API_ENTRY cl_int CL_API_CALL clEnqueueAcquireD3D11ObjectsKHR(
929  cl_command_queue command_queue, cl_uint num_objects,
930  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
931  const cl_event *event_wait_list, cl_event *event);
932 
933 extern CL_API_ENTRY cl_int CL_API_CALL clEnqueueReleaseD3D11ObjectsKHR(
934  cl_command_queue command_queue, cl_uint num_objects,
935  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
936  const cl_event *event_wait_list, cl_event *event);
937 
938 /* cl_khr_dx9_media_sharing */
939 extern CL_API_ENTRY cl_int CL_API_CALL clGetDeviceIDsFromDX9MediaAdapterKHR(
940  cl_platform_id platform, cl_uint num_media_adapters,
941  cl_dx9_media_adapter_type_khr *media_adapter_type, void *media_adapters,
942  cl_dx9_media_adapter_set_khr media_adapter_set, cl_uint num_entries,
943  cl_device_id *devices, cl_uint *num_devices);
944 
945 extern CL_API_ENTRY cl_mem CL_API_CALL clCreateFromDX9MediaSurfaceKHR(
946  cl_context context, cl_mem_flags flags,
947  cl_dx9_media_adapter_type_khr adapter_type, void *surface_info,
948  cl_uint plane, cl_int *errcode_ret);
949 
950 extern CL_API_ENTRY cl_int CL_API_CALL clEnqueueAcquireDX9MediaSurfacesKHR(
951  cl_command_queue command_queue, cl_uint num_objects,
952  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
953  const cl_event *event_wait_list, cl_event *event);
954 
955 extern CL_API_ENTRY cl_int CL_API_CALL clEnqueueReleaseDX9MediaSurfacesKHR(
956  cl_command_queue command_queue, cl_uint num_objects,
957  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
958  const cl_event *event_wait_list, cl_event *event);
959 
960 #else
961 
962 /* cl_khr_d3d10_sharing */
969 
970 /* cl_khr_d3d11_sharing */
977 
978 /* cl_khr_dx9_media_sharing */
983 
984 #endif
985 
986 /* OpenCL 1.1 */
987 
988 #ifdef CL_VERSION_1_1
989 
991  cl_event /* event */, cl_int /* command_exec_callback_type */,
992  void(CL_CALLBACK * /* pfn_notify */)(cl_event, cl_int, void *),
993  void * /* user_data */) CL_API_SUFFIX__VERSION_1_1;
994 
996  cl_mem /* buffer */, cl_mem_flags /* flags */,
997  cl_buffer_create_type /* buffer_create_type */,
998  const void * /* buffer_create_info */,
999  cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
1000 
1001 typedef
1003  cl_mem /* memobj */,
1004  void(CL_CALLBACK * /*pfn_notify*/)(cl_mem /* memobj */,
1005  void * /*user_data*/),
1006  void * /*user_data */) CL_API_SUFFIX__VERSION_1_1;
1007 
1009  cl_context /* context */,
1010  cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
1011 
1013  cl_event /* event */,
1014  cl_int /* execution_status */) CL_API_SUFFIX__VERSION_1_1;
1015 
1016 #else
1017 
1023 
1024 #endif
1025 
1027  cl_device_id in_device,
1028  const cl_device_partition_property_ext *partition_properties,
1029  cl_uint num_entries, cl_device_id *out_devices, cl_uint *num_devices);
1030 
1032  cl_device_id device) CL_API_SUFFIX__VERSION_1_0;
1033 
1035  cl_device_id device) CL_API_SUFFIX__VERSION_1_0;
1036 
1037 /* cl_khr_egl_image */
1039  cl_context context, CLeglDisplayKHR display, CLeglImageKHR image,
1040  cl_mem_flags flags, const cl_egl_image_properties_khr *properties,
1041  cl_int *errcode_ret);
1042 
1044  cl_command_queue command_queue, cl_uint num_objects,
1045  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
1046  const cl_event *event_wait_list, cl_event *event);
1047 
1049  cl_command_queue command_queue, cl_uint num_objects,
1050  const cl_mem *mem_objects, cl_uint num_events_in_wait_list,
1051  const cl_event *event_wait_list, cl_event *event);
1052 
1053 /* cl_khr_egl_event */
1055  cl_context context, CLeglSyncKHR sync, CLeglDisplayKHR display,
1056  cl_int *errcode_ret);
1057 
1058 #ifdef CL_VERSION_2_1
1059 
1061  cl_context context, cl_device_id device,
1062  cl_command_queue command_queue) CL_API_SUFFIX__VERSION_2_1;
1063 
1065  cl_context context, const void *il, size_t length,
1066  cl_int *errcode_ret) CL_API_SUFFIX__VERSION_2_1;
1067 
1069  cl_kernel kernel, cl_device_id device, cl_kernel_sub_group_info param_name,
1070  size_t input_value_size, const void *input_value, size_t param_value_size,
1071  void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_2_1;
1072 
1074  cl_kernel source_kernel, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_2_1;
1075 
1077  cl_command_queue command_queue, cl_uint num_svm_pointers,
1078  const void **svm_pointers, const size_t *sizes,
1079  cl_mem_migration_flags flags, cl_uint num_events_in_wait_list,
1080  const cl_event *event_wait_list,
1081  cl_event *event) CL_API_SUFFIX__VERSION_2_1;
1082 
1084  cl_device_id device, cl_ulong *device_timestamp,
1085  cl_ulong *host_timestamp) CL_API_SUFFIX__VERSION_2_1;
1086 
1088  cl_device_id device, cl_ulong *host_timestamp) CL_API_SUFFIX__VERSION_2_1;
1089 
1090 #else
1091 
1095 typedef void *cl_api_clCloneKernel;
1099 
1100 #endif
1101 
1102 /* Vendor dispatch table structure */
1103 
1104 typedef struct _cl_icd_dispatch {
1105  /* OpenCL 1.0 */
1181 
1182  /* cl_khr_d3d10_sharing */
1183  cl_api_clGetDeviceIDsFromD3D10KHR clGetDeviceIDsFromD3D10KHR;
1184  cl_api_clCreateFromD3D10BufferKHR clCreateFromD3D10BufferKHR;
1185  cl_api_clCreateFromD3D10Texture2DKHR clCreateFromD3D10Texture2DKHR;
1186  cl_api_clCreateFromD3D10Texture3DKHR clCreateFromD3D10Texture3DKHR;
1187  cl_api_clEnqueueAcquireD3D10ObjectsKHR clEnqueueAcquireD3D10ObjectsKHR;
1188  cl_api_clEnqueueReleaseD3D10ObjectsKHR clEnqueueReleaseD3D10ObjectsKHR;
1189 
1190  /* OpenCL 1.1 */
1191  cl_api_clSetEventCallback clSetEventCallback;
1192  cl_api_clCreateSubBuffer clCreateSubBuffer;
1193  cl_api_clSetMemObjectDestructorCallback clSetMemObjectDestructorCallback;
1194  cl_api_clCreateUserEvent clCreateUserEvent;
1195  cl_api_clSetUserEventStatus clSetUserEventStatus;
1196  cl_api_clEnqueueReadBufferRect clEnqueueReadBufferRect;
1197  cl_api_clEnqueueWriteBufferRect clEnqueueWriteBufferRect;
1198  cl_api_clEnqueueCopyBufferRect clEnqueueCopyBufferRect;
1199 
1200  /* cl_ext_device_fission */
1204 
1205  /* cl_khr_gl_event */
1207 
1208  /* OpenCL 1.2 */
1209  cl_api_clCreateSubDevices clCreateSubDevices;
1210  cl_api_clRetainDevice clRetainDevice;
1211  cl_api_clReleaseDevice clReleaseDevice;
1212  cl_api_clCreateImage clCreateImage;
1213  cl_api_clCreateProgramWithBuiltInKernels clCreateProgramWithBuiltInKernels;
1214  cl_api_clCompileProgram clCompileProgram;
1215  cl_api_clLinkProgram clLinkProgram;
1216  cl_api_clUnloadPlatformCompiler clUnloadPlatformCompiler;
1217  cl_api_clGetKernelArgInfo clGetKernelArgInfo;
1218  cl_api_clEnqueueFillBuffer clEnqueueFillBuffer;
1219  cl_api_clEnqueueFillImage clEnqueueFillImage;
1220  cl_api_clEnqueueMigrateMemObjects clEnqueueMigrateMemObjects;
1221  cl_api_clEnqueueMarkerWithWaitList clEnqueueMarkerWithWaitList;
1222  cl_api_clEnqueueBarrierWithWaitList clEnqueueBarrierWithWaitList;
1223  cl_api_clGetExtensionFunctionAddressForPlatform
1226 
1227  /* cl_khr_d3d11_sharing */
1228  cl_api_clGetDeviceIDsFromD3D11KHR clGetDeviceIDsFromD3D11KHR;
1229  cl_api_clCreateFromD3D11BufferKHR clCreateFromD3D11BufferKHR;
1230  cl_api_clCreateFromD3D11Texture2DKHR clCreateFromD3D11Texture2DKHR;
1231  cl_api_clCreateFromD3D11Texture3DKHR clCreateFromD3D11Texture3DKHR;
1232  cl_api_clCreateFromDX9MediaSurfaceKHR clCreateFromDX9MediaSurfaceKHR;
1233  cl_api_clEnqueueAcquireD3D11ObjectsKHR clEnqueueAcquireD3D11ObjectsKHR;
1234  cl_api_clEnqueueReleaseD3D11ObjectsKHR clEnqueueReleaseD3D11ObjectsKHR;
1235 
1236  /* cl_khr_dx9_media_sharing */
1237  cl_api_clGetDeviceIDsFromDX9MediaAdapterKHR
1239  cl_api_clEnqueueAcquireDX9MediaSurfacesKHR
1241  cl_api_clEnqueueReleaseDX9MediaSurfacesKHR
1243 
1244  /* cl_khr_egl_image */
1248 
1249  /* cl_khr_egl_event */
1251 
1252  /* OpenCL 2.0 */
1253  cl_api_clCreateCommandQueueWithProperties clCreateCommandQueueWithProperties;
1254  cl_api_clCreatePipe clCreatePipe;
1255  cl_api_clGetPipeInfo clGetPipeInfo;
1256  cl_api_clSVMAlloc clSVMAlloc;
1257  cl_api_clSVMFree clSVMFree;
1258  cl_api_clEnqueueSVMFree clEnqueueSVMFree;
1259  cl_api_clEnqueueSVMMemcpy clEnqueueSVMMemcpy;
1260  cl_api_clEnqueueSVMMemFill clEnqueueSVMMemFill;
1261  cl_api_clEnqueueSVMMap clEnqueueSVMMap;
1262  cl_api_clEnqueueSVMUnmap clEnqueueSVMUnmap;
1263  cl_api_clCreateSamplerWithProperties clCreateSamplerWithProperties;
1264  cl_api_clSetKernelArgSVMPointer clSetKernelArgSVMPointer;
1265  cl_api_clSetKernelExecInfo clSetKernelExecInfo;
1266 
1267  /* cl_khr_sub_groups */
1268  cl_api_clGetKernelSubGroupInfoKHR clGetKernelSubGroupInfoKHR;
1269 
1270  /* OpenCL 2.1 */
1271  cl_api_clCloneKernel clCloneKernel;
1272  cl_api_clCreateProgramWithIL clCreateProgramWithIL;
1273  cl_api_clEnqueueSVMMigrateMem clEnqueueSVMMigrateMem;
1274  cl_api_clGetDeviceAndHostTimer clGetDeviceAndHostTimer;
1275  cl_api_clGetHostTimer clGetHostTimer;
1276  cl_api_clGetKernelSubGroupInfo clGetKernelSubGroupInfo;
1277  cl_api_clSetDefaultDeviceCommandQueue clSetDefaultDeviceCommandQueue;
1278 
1279  /* OpenCL 2.2 */
1280  cl_api_clSetProgramReleaseCallback clSetProgramReleaseCallback;
1281  cl_api_clSetProgramSpecializationConstant clSetProgramSpecializationConstant;
1282 
1283  /* OpenCL 3.0 */
1284  cl_api_clCreateBufferWithProperties clCreateBufferWithProperties;
1285  cl_api_clCreateImageWithProperties clCreateImageWithProperties;
1286  cl_api_clSetContextDestructorCallback clSetContextDestructorCallback;
1287 
1288 } cl_icd_dispatch;
1289 
1290 #ifdef __cplusplus
1291 }
1292 #endif
1293 
1294 #endif /* #ifndef OPENCL_CL_ICD_H */
void * cl_api_clCreatePipe
Definition: cl_icd.h:221
cl_int(CL_API_CALL * cl_api_clGetCommandQueueInfo)(cl_command_queue command_queue, cl_command_queue_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:131
struct _cl_device_id * cl_device_id
Definition: cl.h:30
cl_int(CL_API_CALL * cl_api_clEnqueueReleaseEGLObjectsKHR)(cl_command_queue command_queue, cl_uint num_objects, const cl_mem *mem_objects, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)
Definition: cl_icd.h:1048
uint32_t cl_uint
Definition: cl_platform.h:261
cl_api_clRetainSampler clRetainSampler
Definition: cl_icd.h:1129
cl_uint cl_device_info
Definition: cl.h:44
GLuint GLsizei const GLuint const GLintptr const GLsizeiptr * sizes
Definition: glcorearb.h:2621
cl_int(CL_API_CALL * cl_api_clWaitForEvents)(cl_uint num_events, const cl_event *event_list) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:423
cl_int(CL_API_CALL * cl_api_clEnqueueMarker)(cl_command_queue command_queue, cl_event *event) CL_API_SUFFIX__VERSION_1_1_DEPRECATED
Definition: cl_icd.h:723
void * cl_api_clEnqueueMigrateMemObjects
Definition: cl_icd.h:603
void * cl_api_clEnqueueSVMMemFill
Definition: cl_icd.h:697
cl_int(CL_API_CALL * cl_api_clGetSupportedImageFormats)(cl_context context, cl_mem_flags flags, cl_mem_object_type image_type, cl_uint num_entries, cl_image_format *image_formats, cl_uint *num_image_formats) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:185
cl_api_clEnqueueWriteBuffer clEnqueueWriteBuffer
Definition: cl_icd.h:1155
cl_int(CL_API_CALL * cl_api_clGetPlatformInfo)(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:48
GLbitfield flags
Definition: glcorearb.h:1596
cl_mem(CL_API_CALL * cl_api_clCreateFromGLTexture3D)(cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:750
cl_uint cl_kernel_sub_group_info
Definition: cl_ext.h:1040
cl_uint cl_gl_texture_info
Definition: cl_gl.h:27
cl_int(CL_API_CALL * cl_api_clRetainProgram)(cl_program program) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:281
struct _cl_context * cl_context
Definition: cl.h:31
cl_api_clCreateProgramWithIL clCreateProgramWithIL
Definition: cl_icd.h:1272
cl_context(CL_API_CALL * cl_api_clCreateContextFromType)(const cl_context_properties *properties, cl_device_type device_type, void(CL_CALLBACK *pfn_notify)(const char *, const void *, size_t, void *), void *user_data, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:90
cl_api_clCreateFromGLTexture3D clCreateFromGLTexture3D
Definition: cl_icd.h:1174
cl_int(CL_API_CALL * cl_api_clGetSamplerInfo)(cl_sampler sampler, cl_sampler_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:240
void * cl_api_clCreateFromD3D11Texture3DKHR
Definition: cl_icd.h:974
cl_api_clLinkProgram clLinkProgram
Definition: cl_icd.h:1215
cl_api_clGetEventProfilingInfo clGetEventProfilingInfo
Definition: cl_icd.h:1151
cl_api_clCompileProgram clCompileProgram
Definition: cl_icd.h:1214
cl_int(CL_API_CALL * cl_api_clEnqueueCopyBuffer)(cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, size_t src_offset, size_t dst_offset, size_t cb, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:507
void * cl_api_clSetUserEventStatus
Definition: cl_icd.h:1022
cl_int(CL_API_CALL * cl_api_clEnqueueTask)(cl_command_queue command_queue, cl_kernel kernel, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:614
cl_api_clCreateImage3D clCreateImage3D
Definition: cl_icd.h:1122
void * cl_api_clEnqueueBarrierWithWaitList
Definition: cl_icd.h:646
cl_int(CL_API_CALL * cl_api_clRetainCommandQueue)(cl_command_queue command_queue) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:125
cl_api_clSetContextDestructorCallback clSetContextDestructorCallback
Definition: cl_icd.h:1286
cl_api_clRetainContext clRetainContext
Definition: cl_icd.h:1112
void * cl_api_clUnloadPlatformCompiler
Definition: cl_icd.h:342
cl_uint cl_mem_object_type
Definition: cl.h:70
cl_api_clGetExtensionFunctionAddress clGetExtensionFunctionAddress
Definition: cl_icd.h:1171
cl_uint cl_program_build_info
Definition: cl.h:88
cl_api_clGetSupportedImageFormats clGetSupportedImageFormats
Definition: cl_icd.h:1125
cl_api_clCreateFromD3D11Texture2DKHR clCreateFromD3D11Texture2DKHR
Definition: cl_icd.h:1230
cl_sampler(CL_API_CALL * cl_api_clCreateSampler)(cl_context context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:229
cl_ulong cl_device_partition_property_ext
Definition: cl_ext.h:770
void * cl_api_clEnqueueSVMMemcpy
Definition: cl_icd.h:696
cl_api_clCreateFromD3D10Texture3DKHR clCreateFromD3D10Texture3DKHR
Definition: cl_icd.h:1186
cl_uint cl_addressing_mode
Definition: cl.h:79
cl_int(CL_API_CALL * cl_api_clGetKernelInfo)(cl_kernel kernel, cl_kernel_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:374
cl_api_clBuildProgram clBuildProgram
Definition: cl_icd.h:1136
void
Definition: png.h:1083
cl_api_clCreateImage2D clCreateImage2D
Definition: cl_icd.h:1121
cl_api_clGetPlatformIDs clGetPlatformIDs
Definition: cl_icd.h:1106
cl_int(CL_API_CALL * cl_api_clEnqueueCopyImageToBuffer)(cl_command_queue command_queue, cl_mem src_image, cl_mem dst_buffer, const size_t *src_origin, const size_t *region, size_t dst_offset, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:563
void * cl_api_clGetKernelSubGroupInfo
Definition: cl_icd.h:1094
cl_api_clCreateFromGLRenderbuffer clCreateFromGLRenderbuffer
Definition: cl_icd.h:1175
void * cl_api_clCreateFromD3D10BufferKHR
Definition: cl_icd.h:964
cl_mem(CL_API_CALL * cl_api_clCreateFromGLRenderbuffer)(cl_context context, cl_mem_flags flags, cl_GLuint renderbuffer, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:754
void * cl_api_clCreateSubBuffer
Definition: cl_icd.h:1019
void * cl_api_clCreateUserEvent
Definition: cl_icd.h:1021
void * cl_api_clCreateSamplerWithProperties
Definition: cl_icd.h:254
cl_api_clRetainCommandQueue clRetainCommandQueue
Definition: cl_icd.h:1116
cl_uint cl_context_info
Definition: cl.h:59
cl_event(CL_API_CALL * cl_api_clCreateEventFromGLsyncKHR)(cl_context context, cl_GLsync sync, cl_int *errcode_ret)
Definition: cl_icd.h:784
cl_api_clCreateFromDX9MediaSurfaceKHR clCreateFromDX9MediaSurfaceKHR
Definition: cl_icd.h:1232
cl_api_clEnqueueAcquireD3D11ObjectsKHR clEnqueueAcquireD3D11ObjectsKHR
Definition: cl_icd.h:1233
cl_bitfield cl_map_flags
Definition: cl.h:82
cl_api_clRetainKernel clRetainKernel
Definition: cl_icd.h:1142
cl_api_clCreateProgramWithSource clCreateProgramWithSource
Definition: cl_icd.h:1132
cl_api_clEnqueueCopyBufferToImage clEnqueueCopyBufferToImage
Definition: cl_icd.h:1161
cl_api_clEnqueueMapBuffer clEnqueueMapBuffer
Definition: cl_icd.h:1162
cl_mem(CL_API_CALL * cl_api_clCreateFromGLBuffer)(cl_context context, cl_mem_flags flags, cl_GLuint bufobj, int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:738
void * cl_api_clSetKernelExecInfo
Definition: cl_icd.h:417
void * cl_api_clSetProgramSpecializationConstant
Definition: cl_icd.h:330
void * CLeglImageKHR
Definition: cl_egl.h:37
cl_uint cl_program_info
Definition: cl.h:87
cl_int(CL_API_CALL * cl_api_clEnqueueUnmapMemObject)(cl_command_queue command_queue, cl_mem memobj, void *mapped_ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:588
cl_api_clRetainMemObject clRetainMemObject
Definition: cl_icd.h:1123
cl_api_clGetDeviceIDs clGetDeviceIDs
Definition: cl_icd.h:1108
void * cl_api_clCloneKernel
Definition: cl_icd.h:1095
cl_int(CL_API_CALL * cl_api_clRetainDeviceEXT)(cl_device_id device) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:1031
GLuint GLsizei GLsizei * length
Definition: glcorearb.h:795
int32_t cl_int
Definition: cl_platform.h:260
cl_api_clGetPipeInfo clGetPipeInfo
Definition: cl_icd.h:1255
cl_mem(CL_API_CALL * cl_api_clCreateFromGLTexture2D)(cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:746
cl_mem(CL_API_CALL * cl_api_clCreateFromEGLImageKHR)(cl_context context, CLeglDisplayKHR display, CLeglImageKHR image, cl_mem_flags flags, const cl_egl_image_properties_khr *properties, cl_int *errcode_ret)
Definition: cl_icd.h:1038
cl_api_clReleaseMemObject clReleaseMemObject
Definition: cl_icd.h:1124
void * cl_api_clGetDeviceIDsFromDX9MediaAdapterKHR
Definition: cl_icd.h:982
cl_api_clUnloadPlatformCompiler clUnloadPlatformCompiler
Definition: cl_icd.h:1216
void * cl_api_clCreateProgramWithBuiltInKernels
Definition: cl_icd.h:277
cl_api_clGetDeviceIDsFromD3D10KHR clGetDeviceIDsFromD3D10KHR
Definition: cl_icd.h:1183
cl_api_clGetGLContextInfoKHR clGetGLContextInfoKHR
Definition: cl_icd.h:1180
cl_mem(CL_API_CALL * cl_api_clCreateBuffer)(cl_context context, cl_mem_flags flags, size_t size, void *host_ptr, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:137
GLenum GLenum GLsizei void * image
Definition: glad.h:5132
cl_api_clSVMFree clSVMFree
Definition: cl_icd.h:1257
void * cl_api_clSetProgramReleaseCallback
Definition: cl_icd.h:331
cl_api_clReleaseDeviceEXT clReleaseDeviceEXT
Definition: cl_icd.h:1203
cl_api_clCreateFromD3D10Texture2DKHR clCreateFromD3D10Texture2DKHR
Definition: cl_icd.h:1185
cl_uint cl_d3d10_device_source_khr
Definition: cl_d3d10.h:44
GLuint sampler
Definition: glcorearb.h:1656
cl_int(CL_API_CALL * cl_api_clReleaseSampler)(cl_sampler sampler) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:237
cl_mem(CL_API_CALL * cl_api_clCreateImage2D)(cl_context context, cl_mem_flags flags, const cl_image_format *image_format, size_t image_width, size_t image_height, size_t image_row_pitch, void *host_ptr, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_1_DEPRECATED
Definition: cl_icd.h:709
cl_api_clSetMemObjectDestructorCallback clSetMemObjectDestructorCallback
Definition: cl_icd.h:1193
cl_api_clEnqueueReadBufferRect clEnqueueReadBufferRect
Definition: cl_icd.h:1196
cl_int(CL_API_CALL * cl_api_clGetMemObjectInfo)(cl_mem memobj, cl_mem_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:190
unsigned int cl_GLenum
Definition: cl_platform.h:367
cl_api_clReleaseSampler clReleaseSampler
Definition: cl_icd.h:1130
cl_api_clEnqueueWaitForEvents clEnqueueWaitForEvents
Definition: cl_icd.h:1169
#define CL_API_SUFFIX__VERSION_1_2
Definition: cl_platform.h:69
cl_api_clFlush clFlush
Definition: cl_icd.h:1152
GLuint buffer
Definition: glcorearb.h:660
cl_uint cl_filter_mode
Definition: cl.h:80
cl_api_clSetUserEventStatus clSetUserEventStatus
Definition: cl_icd.h:1195
cl_int(CL_API_CALL * cl_api_clEnqueueCopyImage)(cl_command_queue command_queue, cl_mem src_image, cl_mem dst_image, const size_t *src_origin, const size_t *dst_origin, const size_t *region, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:557
cl_api_clSetCommandQueueProperty clSetCommandQueueProperty
Definition: cl_icd.h:1119
cl_program(CL_API_CALL * cl_api_clCreateProgramWithSource)(cl_context context, cl_uint count, const char **strings, const size_t *lengths, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:259
cl_int(CL_API_CALL * cl_api_clEnqueueReadBuffer)(cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read, size_t offset, size_t cb, void *ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:449
struct _cl_platform_id * cl_platform_id
Definition: cl.h:29
cl_api_clEnqueueSVMFree clEnqueueSVMFree
Definition: cl_icd.h:1258
void * cl_api_clCreateFromD3D10Texture2DKHR
Definition: cl_icd.h:965
void * CLeglDisplayKHR
Definition: cl_egl.h:40
void * cl_api_clEnqueueReleaseD3D10ObjectsKHR
Definition: cl_icd.h:968
cl_uint cl_sampler_info
Definition: cl.h:81
cl_mem(CL_API_CALL * cl_api_clCreateImage3D)(cl_context context, cl_mem_flags flags, const cl_image_format *image_format, size_t image_width, size_t image_height, size_t image_depth, size_t image_row_pitch, size_t image_slice_pitch, void *host_ptr, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_1_DEPRECATED
Definition: cl_icd.h:714
cl_int(CL_API_CALL * cl_api_clEnqueueNativeKernel)(cl_command_queue command_queue, void(CL_CALLBACK *user_func)(void *), void *args, size_t cb_args, cl_uint num_mem_objects, const cl_mem *mem_list, const void **args_mem_loc, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:619
cl_api_clReleaseKernel clReleaseKernel
Definition: cl_icd.h:1143
cl_api_clCreatePipe clCreatePipe
Definition: cl_icd.h:1254
cl_int(CL_API_CALL * cl_api_clRetainKernel)(cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:364
cl_uint cl_d3d11_device_set_khr
Definition: cl_d3d11.h:45
void * cl_api_clGetDeviceIDsFromD3D10KHR
Definition: cl_icd.h:963
cl_api_clGetDeviceIDsFromDX9MediaAdapterKHR clGetDeviceIDsFromDX9MediaAdapterKHR
Definition: cl_icd.h:1238
struct _cl_event * event
Definition: glcorearb.h:2961
cl_api_clGetContextInfo clGetContextInfo
Definition: cl_icd.h:1114
#define CL_API_ENTRY
Definition: cl_platform.h:38
void * cl_api_clSVMAlloc
Definition: cl_icd.h:223
cl_uint cl_d3d11_device_source_khr
Definition: cl_d3d11.h:44
cl_context(CL_API_CALL * cl_api_clCreateContext)(const cl_context_properties *properties, cl_uint num_devices, const cl_device_id *devices, void(CL_CALLBACK *pfn_notify)(const char *, const void *, size_t, void *), void *user_data, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:84
cl_api_clGetKernelArgInfo clGetKernelArgInfo
Definition: cl_icd.h:1217
cl_int(CL_API_CALL * cl_api_clGetImageInfo)(cl_mem image, cl_image_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:194
cl_uint cl_platform_info
Definition: cl.h:43
cl_uint cl_command_queue_info
Definition: cl.h:63
void * cl_api_clCreateFromD3D10Texture3DKHR
Definition: cl_icd.h:966
cl_api_clEnqueueAcquireD3D10ObjectsKHR clEnqueueAcquireD3D10ObjectsKHR
Definition: cl_icd.h:1187
cl_api_clEnqueueNativeKernel clEnqueueNativeKernel
Definition: cl_icd.h:1167
cl_int(CL_API_CALL * cl_api_clRetainEvent)(cl_event event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:430
void * cl_api_clLinkProgram
Definition: cl_icd.h:312
void * cl_api_clCreateImage
Definition: cl_icd.h:150
cl_api_clRetainDevice clRetainDevice
Definition: cl_icd.h:1210
void * cl_api_clSetContextDestructorCallback
Definition: cl_icd.h:175
unsigned int cl_GLuint
Definition: cl_platform.h:365
cl_api_clEnqueueMapImage clEnqueueMapImage
Definition: cl_icd.h:1163
void * cl_api_clCreateFromD3D11BufferKHR
Definition: cl_icd.h:972
cl_api_clCreateEventFromGLsyncKHR clCreateEventFromGLsyncKHR
Definition: cl_icd.h:1206
GLintptr offset
Definition: glcorearb.h:665
cl_api_clGetEventInfo clGetEventInfo
Definition: cl_icd.h:1148
#define CL_API_SUFFIX__VERSION_1_0_DEPRECATED
Definition: cl_platform.h:92
#define CL_API_SUFFIX__VERSION_2_2
Definition: cl_platform.h:72
cl_api_clGetProgramBuildInfo clGetProgramBuildInfo
Definition: cl_icd.h:1139
cl_api_clCreateCommandQueueWithProperties clCreateCommandQueueWithProperties
Definition: cl_icd.h:1253
void * cl_api_clEnqueueReleaseDX9MediaSurfacesKHR
Definition: cl_icd.h:981
cl_uint cl_d3d10_device_set_khr
Definition: cl_d3d10.h:45
void * cl_api_clCreateSubDevices
Definition: cl_icd.h:77
cl_bitfield cl_device_type
Definition: cl.h:42
void *(CL_API_CALL * cl_api_clEnqueueMapImage)(cl_command_queue command_queue, cl_mem image, cl_bool blocking_map, cl_map_flags map_flags, const size_t *origin, const size_t *region, size_t *image_row_pitch, size_t *image_slice_pitch, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:581
cl_api_clEnqueueSVMMigrateMem clEnqueueSVMMigrateMem
Definition: cl_icd.h:1273
cl_int(CL_API_CALL * cl_api_clGetDeviceIDs)(cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id *devices, cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:54
cl_api_clEnqueueReleaseD3D11ObjectsKHR clEnqueueReleaseD3D11ObjectsKHR
Definition: cl_icd.h:1234
#define CL_CALLBACK
Definition: cl.hpp:170
cl_api_clFinish clFinish
Definition: cl_icd.h:1153
cl_api_clUnloadCompiler clUnloadCompiler
Definition: cl_icd.h:1137
cl_int(CL_API_CALL * cl_api_clGetDeviceInfo)(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:58
cl_int(CL_API_CALL * cl_api_clRetainContext)(cl_context context) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:95
void * cl_api_clCreateCommandQueueWithProperties
Definition: cl_icd.h:121
cl_int(CL_API_CALL * cl_api_clEnqueueReadImage)(cl_command_queue command_queue, cl_mem image, cl_bool blocking_read, const size_t *origin, const size_t *region, size_t row_pitch, size_t slice_pitch, void *ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:529
cl_api_clEnqueueFillBuffer clEnqueueFillBuffer
Definition: cl_icd.h:1218
cl_int(CL_API_CALL * cl_api_clEnqueueNDRangeKernel)(cl_command_queue command_queue, cl_kernel kernel, cl_uint work_dim, const size_t *global_work_offset, const size_t *global_work_size, const size_t *local_work_size, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:607
cl_api_clSetEventCallback clSetEventCallback
Definition: cl_icd.h:1191
cl_api_clCreateFromGLBuffer clCreateFromGLBuffer
Definition: cl_icd.h:1172
void * cl_api_clCreateFromD3D11Texture2DKHR
Definition: cl_icd.h:973
cl_int(CL_API_CALL * cl_api_clEnqueueCopyBufferToImage)(cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_image, size_t src_offset, const size_t *dst_origin, const size_t *region, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:569
cl_api_clEnqueueTask clEnqueueTask
Definition: cl_icd.h:1166
void * cl_api_clGetKernelSubGroupInfoKHR
Definition: cl_icd.h:418
cl_api_clReleaseEvent clReleaseEvent
Definition: cl_icd.h:1150
cl_api_clCreateCommandQueue clCreateCommandQueue
Definition: cl_icd.h:1115
cl_api_clCreateFromD3D11Texture3DKHR clCreateFromD3D11Texture3DKHR
Definition: cl_icd.h:1231
cl_api_clCreateSubDevicesEXT clCreateSubDevicesEXT
Definition: cl_icd.h:1201
struct _cl_kernel * cl_kernel
Definition: cl.h:35
cl_int(CL_API_CALL * cl_api_clFlush)(cl_command_queue command_queue) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:442
cl_api_clGetProgramInfo clGetProgramInfo
Definition: cl_icd.h:1138
cl_int(CL_API_CALL * cl_api_clGetPlatformIDs)(cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:44
cl_bitfield cl_command_queue_properties
Definition: cl.h:52
cl_api_clEnqueueUnmapMemObject clEnqueueUnmapMemObject
Definition: cl_icd.h:1164
cl_api_clRetainProgram clRetainProgram
Definition: cl_icd.h:1134
cl_api_clCreateSubBuffer clCreateSubBuffer
Definition: cl_icd.h:1192
cl_api_clReleaseProgram clReleaseProgram
Definition: cl_icd.h:1135
cl_api_clEnqueueCopyImage clEnqueueCopyImage
Definition: cl_icd.h:1159
cl_api_clEnqueueAcquireDX9MediaSurfacesKHR clEnqueueAcquireDX9MediaSurfacesKHR
Definition: cl_icd.h:1240
#define CL_API_SUFFIX__VERSION_2_0
Definition: cl_platform.h:70
struct _cl_icd_dispatch cl_icd_dispatch
cl_api_clCreateImage clCreateImage
Definition: cl_icd.h:1212
void * cl_api_clEnqueueAcquireD3D11ObjectsKHR
Definition: cl_icd.h:975
cl_api_clGetMemObjectInfo clGetMemObjectInfo
Definition: cl_icd.h:1126
cl_int(CL_API_CALL * cl_api_clGetGLContextInfoKHR)(const cl_context_properties *properties, cl_gl_context_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)
Definition: cl_icd.h:779
cl_api_clCreateFromEGLImageKHR clCreateFromEGLImageKHR
Definition: cl_icd.h:1245
cl_api_clGetSamplerInfo clGetSamplerInfo
Definition: cl_icd.h:1131
cl_int(CL_API_CALL * cl_api_clReleaseMemObject)(cl_mem memobj) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:182
#define CL_API_SUFFIX__VERSION_3_0
Definition: cl_platform.h:73
cl_uint cl_event_info
Definition: cl.h:104
GLenum target
Definition: glcorearb.h:1667
cl_int(CL_API_CALL * cl_api_clEnqueueAcquireGLObjects)(cl_command_queue command_queue, cl_uint num_objects, const cl_mem *mem_objects, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:766
cl_int(CL_API_CALL * cl_api_clEnqueueAcquireEGLObjectsKHR)(cl_command_queue command_queue, cl_uint num_objects, const cl_mem *mem_objects, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)
Definition: cl_icd.h:1043
cl_int(CL_API_CALL * cl_api_clEnqueueBarrier)(cl_command_queue command_queue) CL_API_SUFFIX__VERSION_1_1_DEPRECATED
Definition: cl_icd.h:731
cl_api_clCreateFromGLTexture clCreateFromGLTexture
Definition: cl_icd.h:1225
cl_api_clEnqueueReadImage clEnqueueReadImage
Definition: cl_icd.h:1157
void * cl_api_clEnqueueSVMFree
Definition: cl_icd.h:695
void * cl_api_clSetMemObjectDestructorCallback
Definition: cl_icd.h:1020
struct _cl_mem * cl_mem
Definition: cl.h:33
cl_api_clGetExtensionFunctionAddressForPlatform clGetExtensionFunctionAddressForPlatform
Definition: cl_icd.h:1224
cl_api_clEnqueueSVMMemcpy clEnqueueSVMMemcpy
Definition: cl_icd.h:1259
cl_int(CL_API_CALL * cl_api_clSetCommandQueueProperty)(cl_command_queue command_queue, cl_command_queue_properties properties, cl_bool enable, cl_command_queue_properties *old_properties) CL_API_SUFFIX__VERSION_1_0_DEPRECATED
Definition: cl_icd.h:704
void * cl_api_clEnqueueFillBuffer
Definition: cl_icd.h:503
cl_api_clCreateSamplerWithProperties clCreateSamplerWithProperties
Definition: cl_icd.h:1263
void * cl_api_clReleaseDevice
Definition: cl_icd.h:79
cl_uint cl_dx9_media_adapter_type_khr
GLushort pattern
Definition: glad.h:2583
cl_int(CL_API_CALL * cl_api_clCreateSubDevicesEXT)(cl_device_id in_device, const cl_device_partition_property_ext *partition_properties, cl_uint num_entries, cl_device_id *out_devices, cl_uint *num_devices)
Definition: cl_icd.h:1026
GLsizei const GLchar *const * strings
Definition: glcorearb.h:1933
cl_api_clEnqueueCopyBufferRect clEnqueueCopyBufferRect
Definition: cl_icd.h:1198
cl_api_clGetDeviceIDsFromD3D11KHR clGetDeviceIDsFromD3D11KHR
Definition: cl_icd.h:1228
void * cl_api_clCreateProgramWithIL
Definition: cl_icd.h:1093
cl_uint cl_mem_info
Definition: cl.h:71
cl_api_clSVMAlloc clSVMAlloc
Definition: cl_icd.h:1256
void * cl_api_clGetPipeInfo
Definition: cl_icd.h:222
cl_int(CL_API_CALL * cl_api_clReleaseProgram)(cl_program program) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:284
cl_api_clEnqueueMarkerWithWaitList clEnqueueMarkerWithWaitList
Definition: cl_icd.h:1221
cl_api_clGetKernelInfo clGetKernelInfo
Definition: cl_icd.h:1145
cl_api_clCloneKernel clCloneKernel
Definition: cl_icd.h:1271
cl_event(CL_API_CALL * cl_api_clCreateEventFromEGLSyncKHR)(cl_context context, CLeglSyncKHR sync, CLeglDisplayKHR display, cl_int *errcode_ret)
Definition: cl_icd.h:1054
struct _cl_sampler * cl_sampler
Definition: cl.h:37
cl_api_clSetDefaultDeviceCommandQueue clSetDefaultDeviceCommandQueue
Definition: cl_icd.h:1277
cl_api_clCreateFromGLTexture2D clCreateFromGLTexture2D
Definition: cl_icd.h:1173
cl_api_clEnqueueFillImage clEnqueueFillImage
Definition: cl_icd.h:1219
cl_api_clRetainDeviceEXT clRetainDeviceEXT
Definition: cl_icd.h:1202
cl_api_clSetKernelArgSVMPointer clSetKernelArgSVMPointer
Definition: cl_icd.h:1264
cl_int(CL_API_CALL * cl_api_clRetainMemObject)(cl_mem memobj) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:179
cl_api_clEnqueueBarrier clEnqueueBarrier
Definition: cl_icd.h:1170
cl_int(CL_API_CALL * cl_api_clGetProgramBuildInfo)(cl_program program, cl_device_id device, cl_program_build_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:350
cl_int(CL_API_CALL * cl_api_clGetEventProfilingInfo)(cl_event event, cl_profiling_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:437
cl_api_clSetKernelArg clSetKernelArg
Definition: cl_icd.h:1144
GLsizeiptr size
Definition: glcorearb.h:664
void * cl_api_clGetHostTimer
Definition: cl_icd.h:1098
cl_int(CL_API_CALL * cl_api_clGetGLTextureInfo)(cl_mem memobj, cl_gl_texture_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:762
cl_api_clCreateUserEvent clCreateUserEvent
Definition: cl_icd.h:1194
cl_api_clEnqueueReadBuffer clEnqueueReadBuffer
Definition: cl_icd.h:1154
cl_api_clReleaseCommandQueue clReleaseCommandQueue
Definition: cl_icd.h:1117
cl_api_clEnqueueBarrierWithWaitList clEnqueueBarrierWithWaitList
Definition: cl_icd.h:1222
cl_api_clEnqueueSVMMemFill clEnqueueSVMMemFill
Definition: cl_icd.h:1260
void * cl_api_clSVMFree
Definition: cl_icd.h:224
cl_uint cl_image_info
Definition: cl.h:75
void * cl_api_clSetEventCallback
Definition: cl_icd.h:1018
cl_api_clCreateSubDevices clCreateSubDevices
Definition: cl_icd.h:1209
cl_api_clGetImageInfo clGetImageInfo
Definition: cl_icd.h:1127
cl_api_clGetKernelSubGroupInfo clGetKernelSubGroupInfo
Definition: cl_icd.h:1276
cl_api_clCreateContext clCreateContext
Definition: cl_icd.h:1110
void * cl_api_clEnqueueSVMMap
Definition: cl_icd.h:698
void * cl_api_clEnqueueAcquireD3D10ObjectsKHR
Definition: cl_icd.h:967
cl_int(CL_API_CALL * cl_api_clReleaseKernel)(cl_kernel kernel) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:367
cl_api_clSetProgramReleaseCallback clSetProgramReleaseCallback
Definition: cl_icd.h:1280
cl_int(CL_API_CALL * cl_api_clEnqueueWriteBuffer)(cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_write, size_t offset, size_t cb, const void *ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:471
intptr_t cl_context_properties
Definition: cl.h:58
struct _cl_event * cl_event
Definition: cl.h:36
cl_api_clCreateKernelsInProgram clCreateKernelsInProgram
Definition: cl_icd.h:1141
struct _cl_command_queue * cl_command_queue
Definition: cl.h:32
cl_api_clGetKernelWorkGroupInfo clGetKernelWorkGroupInfo
Definition: cl_icd.h:1146
cl_api_clEnqueueAcquireEGLObjectsKHR clEnqueueAcquireEGLObjectsKHR
Definition: cl_icd.h:1246
cl_int(CL_API_CALL * cl_api_clEnqueueWaitForEvents)(cl_command_queue command_queue, cl_uint num_events, const cl_event *event_list) CL_API_SUFFIX__VERSION_1_1_DEPRECATED
Definition: cl_icd.h:727
cl_api_clGetPlatformInfo clGetPlatformInfo
Definition: cl_icd.h:1107
cl_int(CL_API_CALL * cl_api_clGetContextInfo)(cl_context context, cl_context_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:101
cl_api_clGetDeviceInfo clGetDeviceInfo
Definition: cl_icd.h:1109
cl_api_clEnqueueSVMUnmap clEnqueueSVMUnmap
Definition: cl_icd.h:1262
struct __GLsync * cl_GLsync
Definition: cl_gl.h:29
void * cl_api_clEnqueueFillImage
Definition: cl_icd.h:553
cl_api_clEnqueueReleaseDX9MediaSurfacesKHR clEnqueueReleaseDX9MediaSurfacesKHR
Definition: cl_icd.h:1242
cl_api_clEnqueueCopyImageToBuffer clEnqueueCopyImageToBuffer
Definition: cl_icd.h:1160
cl_api_clGetGLTextureInfo clGetGLTextureInfo
Definition: cl_icd.h:1177
void * cl_api_clSetDefaultDeviceCommandQueue
Definition: cl_icd.h:1092
void * cl_api_clGetExtensionFunctionAddressForPlatform
Definition: cl_icd.h:647
cl_api_clReleaseDevice clReleaseDevice
Definition: cl_icd.h:1211
void * cl_api_clRetainDevice
Definition: cl_icd.h:78
auto ptr(T p) -> const void *
Definition: format.h:2448
void *(CL_API_CALL * cl_api_clGetExtensionFunctionAddress)(const char *function_name) CL_API_SUFFIX__VERSION_1_1_DEPRECATED
Definition: cl_icd.h:734
cl_api_clCreateProgramWithBuiltInKernels clCreateProgramWithBuiltInKernels
Definition: cl_icd.h:1213
cl_int(CL_API_CALL * cl_api_clRetainSampler)(cl_sampler sampler) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:234
GLuint renderbuffer
Definition: glcorearb.h:1281
cl_api_clEnqueueReleaseEGLObjectsKHR clEnqueueReleaseEGLObjectsKHR
Definition: cl_icd.h:1247
cl_int(CL_API_CALL * cl_api_clEnqueueWriteImage)(cl_command_queue command_queue, cl_mem image, cl_bool blocking_write, const size_t *origin, const size_t *region, size_t input_row_pitch, size_t input_slice_pitch, const void *ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:536
cl_api_clGetKernelSubGroupInfoKHR clGetKernelSubGroupInfoKHR
Definition: cl_icd.h:1268
void * CLeglSyncKHR
Definition: cl_egl.h:43
void * cl_api_clGetKernelArgInfo
Definition: cl_icd.h:387
cl_api_clCreateBufferWithProperties clCreateBufferWithProperties
Definition: cl_icd.h:1284
void * cl_api_clEnqueueSVMUnmap
Definition: cl_icd.h:699
#define CL_API_SUFFIX__VERSION_1_1
Definition: cl_platform.h:68
**If you just want to fire and args
Definition: thread.h:609
cl_api_clCreateProgramWithBinary clCreateProgramWithBinary
Definition: cl_icd.h:1133
#define CL_API_SUFFIX__VERSION_1_0
Definition: cl_platform.h:67
cl_int(CL_API_CALL * cl_api_clFinish)(cl_command_queue command_queue) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:445
cl_int(CL_API_CALL * cl_api_clGetEventInfo)(cl_event event, cl_event_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:426
cl_uint cl_dx9_media_adapter_set_khr
cl_api_clGetGLObjectInfo clGetGLObjectInfo
Definition: cl_icd.h:1176
cl_uint cl_kernel_work_group_info
Definition: cl.h:100
GLuint texture
Definition: glcorearb.h:415
#define CL_API_CALL
Definition: cl_platform.h:41
cl_api_clCreateFromD3D11BufferKHR clCreateFromD3D11BufferKHR
Definition: cl_icd.h:1229
cl_int(CL_API_CALL * cl_api_clCreateKernelsInProgram)(cl_program program, cl_uint num_kernels, cl_kernel *kernels, cl_uint *num_kernels_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:360
cl_api_clRetainEvent clRetainEvent
Definition: cl_icd.h:1149
void * cl_api_clEnqueueReadBufferRect
Definition: cl_icd.h:467
cl_api_clCreateKernel clCreateKernel
Definition: cl_icd.h:1140
#define CL_API_SUFFIX__VERSION_2_1
Definition: cl_platform.h:71
cl_api_clSetProgramSpecializationConstant clSetProgramSpecializationConstant
Definition: cl_icd.h:1281
cl_int(CL_API_CALL * cl_api_clReleaseEvent)(cl_event event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:433
struct _cl_program * cl_program
Definition: cl.h:34
cl_api_clEnqueueReleaseGLObjects clEnqueueReleaseGLObjects
Definition: cl_icd.h:1179
void * cl_api_clEnqueueWriteBufferRect
Definition: cl_icd.h:489
cl_api_clEnqueueWriteBufferRect clEnqueueWriteBufferRect
Definition: cl_icd.h:1197
cl_int(CL_API_CALL * cl_api_clGetGLObjectInfo)(cl_mem memobj, cl_gl_object_type *gl_object_type, cl_GLuint *gl_object_name) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:758
cl_api_clEnqueueSVMMap clEnqueueSVMMap
Definition: cl_icd.h:1261
cl_uint cl_kernel_info
Definition: cl.h:93
void *(CL_API_CALL * cl_api_clEnqueueMapBuffer)(cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_map, cl_map_flags map_flags, size_t offset, size_t cb, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:575
cl_command_queue(CL_API_CALL * cl_api_clCreateCommandQueue)(cl_context context, cl_device_id device, cl_command_queue_properties properties, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:106
cl_int(CL_API_CALL * cl_api_clGetProgramInfo)(cl_program program, cl_program_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:346
cl_int(CL_API_CALL * cl_api_clBuildProgram)(cl_program program, cl_uint num_devices, const cl_device_id *device_list, const char *options, void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data), void *user_data) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:287
void * cl_api_clCreateBufferWithProperties
Definition: cl_icd.h:173
cl_int(CL_API_CALL * cl_api_clSetKernelArg)(cl_kernel kernel, cl_uint arg_index, size_t arg_size, const void *arg_value) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:370
void * cl_api_clSetKernelArgSVMPointer
Definition: cl_icd.h:416
cl_kernel(CL_API_CALL * cl_api_clCreateKernel)(cl_program program, const char *kernel_name, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:356
void * cl_api_clCreateFromDX9MediaSurfaceKHR
Definition: cl_icd.h:979
cl_api_clWaitForEvents clWaitForEvents
Definition: cl_icd.h:1147
cl_int(CL_API_CALL * cl_api_clReleaseCommandQueue)(cl_command_queue command_queue) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:128
cl_int(CL_API_CALL * cl_api_clReleaseContext)(cl_context context) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:98
cl_api_clCreateImageWithProperties clCreateImageWithProperties
Definition: cl_icd.h:1285
cl_api_clEnqueueReleaseD3D10ObjectsKHR clEnqueueReleaseD3D10ObjectsKHR
Definition: cl_icd.h:1188
void * cl_api_clEnqueueReleaseD3D11ObjectsKHR
Definition: cl_icd.h:976
cl_api_clSetKernelExecInfo clSetKernelExecInfo
Definition: cl_icd.h:1265
uint64_t cl_ulong
Definition: cl_platform.h:263
cl_api_clReleaseContext clReleaseContext
Definition: cl_icd.h:1113
cl_api_clEnqueueNDRangeKernel clEnqueueNDRangeKernel
Definition: cl_icd.h:1165
void * cl_api_clGetDeviceAndHostTimer
Definition: cl_icd.h:1097
int cl_GLint
Definition: cl_platform.h:366
cl_uint cl_gl_context_info
Definition: cl_gl.h:125
void * cl_api_clEnqueueAcquireDX9MediaSurfacesKHR
Definition: cl_icd.h:980
void * cl_api_clEnqueueCopyBufferRect
Definition: cl_icd.h:525
cl_uint cl_gl_object_type
Definition: cl_gl.h:26
cl_api_clGetHostTimer clGetHostTimer
Definition: cl_icd.h:1275
cl_api_clGetCommandQueueInfo clGetCommandQueueInfo
Definition: cl_icd.h:1118
cl_int(CL_API_CALL * cl_api_clReleaseDeviceEXT)(cl_device_id device) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:1034
cl_api_clEnqueueMigrateMemObjects clEnqueueMigrateMemObjects
Definition: cl_icd.h:1220
GLbitfield GLuint program
Definition: glcorearb.h:1931
cl_uint cl_bool
Definition: cl.h:39
cl_api_clCreateSampler clCreateSampler
Definition: cl_icd.h:1128
cl_api_clGetDeviceAndHostTimer clGetDeviceAndHostTimer
Definition: cl_icd.h:1274
intptr_t cl_egl_image_properties_khr
Definition: cl_egl.h:46
cl_api_clCreateEventFromEGLSyncKHR clCreateEventFromEGLSyncKHR
Definition: cl_icd.h:1250
cl_api_clCreateContextFromType clCreateContextFromType
Definition: cl_icd.h:1111
cl_bitfield cl_mem_flags
Definition: cl.h:66
UINT
Definition: ImfPixelType.h:22
GLint GLsizei count
Definition: glcorearb.h:405
cl_int(CL_API_CALL * cl_api_clEnqueueReleaseGLObjects)(cl_command_queue command_queue, cl_uint num_objects, const cl_mem *mem_objects, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:772
void * cl_api_clCompileProgram
Definition: cl_icd.h:311
cl_api_clCreateFromD3D10BufferKHR clCreateFromD3D10BufferKHR
Definition: cl_icd.h:1184
cl_program(CL_API_CALL * cl_api_clCreateProgramWithBinary)(cl_context context, cl_uint num_devices, const cl_device_id *device_list, const size_t *lengths, const unsigned char **binaries, cl_int *binary_status, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:263
cl_api_clCreateBuffer clCreateBuffer
Definition: cl_icd.h:1120
cl_api_clEnqueueMarker clEnqueueMarker
Definition: cl_icd.h:1168
void * cl_api_clGetDeviceIDsFromD3D11KHR
Definition: cl_icd.h:971
cl_api_clEnqueueWriteImage clEnqueueWriteImage
Definition: cl_icd.h:1158
GLsizei GLenum GLenum GLuint GLenum GLsizei * lengths
Definition: glcorearb.h:2542
#define CL_API_SUFFIX__VERSION_1_1_DEPRECATED
Definition: cl_platform.h:100
cl_api_clEnqueueCopyBuffer clEnqueueCopyBuffer
Definition: cl_icd.h:1156
void * cl_api_clEnqueueSVMMigrateMem
Definition: cl_icd.h:1096
void * cl_api_clCreateImageWithProperties
Definition: cl_icd.h:174
void * cl_api_clEnqueueMarkerWithWaitList
Definition: cl_icd.h:645
cl_uint cl_profiling_info
Definition: cl.h:106
cl_int(CL_API_CALL * cl_api_clUnloadCompiler)(void) CL_API_SUFFIX__VERSION_1_1_DEPRECATED
Definition: cl_icd.h:720
cl_int(CL_API_CALL * cl_api_clGetKernelWorkGroupInfo)(cl_kernel kernel, cl_device_id device, cl_kernel_work_group_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) CL_API_SUFFIX__VERSION_1_0
Definition: cl_icd.h:391
cl_api_clEnqueueAcquireGLObjects clEnqueueAcquireGLObjects
Definition: cl_icd.h:1178
cl_mem(CL_API_CALL * cl_api_clCreateFromGLTexture)(cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2
Definition: cl_icd.h:742