Fix directory resource leak
[ocl-icd] / ocl_interface.yaml
1 # Copyright (c) 2012, Brice Videau <brice.videau@imag.fr>
2 # Copyright (c) 2012, Vincent Danjean <Vincent.Danjean@ens-lyon.org>
3 # All rights reserved.
4 #       
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met:
7 #     
8 # 1. Redistributions of source code must retain the above copyright notice, this
9 #    list of conditions and the following disclaimer.
10 # 2. Redistributions in binary form must reproduce the above copyright notice,
11 #    this list of conditions and the following disclaimer in the documentation
12 #    and/or other materials provided with the distribution.
13 #         
14 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
18 # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
25 # Do not edit this file. It is automatically generated.
26
27 # In Intel (OpenCL 1.1):
28 # * clSetCommandQueueProperty(13): nil (deprecated in 1.1)
29 # * clGetGLContextInfoKHR(74): function present with its symbol
30 # * 75-80: nil
31 # * 92: correspond to symbol clGetKernelArgInfo (first abandonned version?)
32 # * 93-: garbage
33 # In nvidia (OpenCL 1.1):
34 # * clGetGLContextInfoKHR(74): function present but no symbol
35 # * 75-80: nil
36 # * 89-: nil
37 # * only two OpenCL symbols: clGetPlatformInfo(1) and clGetExtensionFunctionAddress(65)
38 # In AMD (OpenCL 1.2):
39 # * clGetPlatformIDs(0): nil (symbol present)
40 # * clGetGLContextInfoKHR(74): function present but no symbol
41 # * 75-80: nil
42 # * 92: nil
43 # * 109-118: nil
44 # * 119-: garbage
45
46 --- 
47 0: |-
48   CL_API_ENTRY cl_int CL_API_CALL
49   clGetPlatformIDs(cl_uint          /* num_entries */,
50                    cl_platform_id * /* platforms */,
51                    cl_uint *        /* num_platforms */) CL_API_SUFFIX__VERSION_1_0;
52 1: |-
53   CL_API_ENTRY cl_int CL_API_CALL 
54   clGetPlatformInfo(cl_platform_id   /* platform */, 
55                     cl_platform_info /* param_name */,
56                     size_t           /* param_value_size */, 
57                     void *           /* param_value */,
58                     size_t *         /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
59 2: |-
60   CL_API_ENTRY cl_int CL_API_CALL
61   clGetDeviceIDs(cl_platform_id   /* platform */,
62                  cl_device_type   /* device_type */, 
63                  cl_uint          /* num_entries */, 
64                  cl_device_id *   /* devices */, 
65                  cl_uint *        /* num_devices */) CL_API_SUFFIX__VERSION_1_0;
66 3: |-
67   CL_API_ENTRY cl_int CL_API_CALL
68   clGetDeviceInfo(cl_device_id    /* device */,
69                   cl_device_info  /* param_name */, 
70                   size_t          /* param_value_size */, 
71                   void *          /* param_value */,
72                   size_t *        /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
73 4: |-
74   CL_API_ENTRY cl_context CL_API_CALL
75   clCreateContext(const cl_context_properties * /* properties */,
76                   cl_uint                       /* num_devices */,
77                   const cl_device_id *          /* devices */,
78                   void (CL_CALLBACK * /* pfn_notify */)(const char *, const void *, size_t, void *),
79                   void *                        /* user_data */,
80                   cl_int *                      /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
81 5: |-
82   CL_API_ENTRY cl_context CL_API_CALL
83   clCreateContextFromType(const cl_context_properties * /* properties */,
84                           cl_device_type                /* device_type */,
85                           void (CL_CALLBACK *     /* pfn_notify*/ )(const char *, const void *, size_t, void *),
86                           void *                        /* user_data */,
87                           cl_int *                      /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
88 6: |-
89   CL_API_ENTRY cl_int CL_API_CALL
90   clRetainContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;
91 7: |-
92   CL_API_ENTRY cl_int CL_API_CALL
93   clReleaseContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;
94 8: |-
95   CL_API_ENTRY cl_int CL_API_CALL
96   clGetContextInfo(cl_context         /* context */, 
97                    cl_context_info    /* param_name */, 
98                    size_t             /* param_value_size */, 
99                    void *             /* param_value */, 
100                    size_t *           /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
101 9: |-
102   CL_API_ENTRY cl_command_queue CL_API_CALL
103   clCreateCommandQueue(cl_context                     /* context */, 
104                        cl_device_id                   /* device */, 
105                        cl_command_queue_properties    /* properties */,
106                        cl_int *                       /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
107 10: |-
108   CL_API_ENTRY cl_int CL_API_CALL
109   clRetainCommandQueue(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
110 11: |-
111   CL_API_ENTRY cl_int CL_API_CALL
112   clReleaseCommandQueue(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
113 12: |-
114   CL_API_ENTRY cl_int CL_API_CALL
115   clGetCommandQueueInfo(cl_command_queue      /* command_queue */,
116                         cl_command_queue_info /* param_name */,
117                         size_t                /* param_value_size */,
118                         void *                /* param_value */,
119                         size_t *              /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
120 13: |-
121   CL_API_ENTRY cl_int CL_API_CALL
122   clSetCommandQueueProperty(cl_command_queue              /* command_queue */,
123                             cl_command_queue_properties   /* properties */, 
124                             cl_bool                        /* enable */,
125                             cl_command_queue_properties * /* old_properties */) CL_EXT_SUFFIX__VERSION_1_0_DEPRECATED;
126 14: |-
127   CL_API_ENTRY cl_mem CL_API_CALL
128   clCreateBuffer(cl_context   /* context */,
129                  cl_mem_flags /* flags */,
130                  size_t       /* size */,
131                  void *       /* host_ptr */,
132                  cl_int *     /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
133 15: |-
134   CL_API_ENTRY cl_mem CL_API_CALL
135   clCreateImage2D(cl_context              /* context */,
136                   cl_mem_flags            /* flags */,
137                   const cl_image_format * /* image_format */,
138                   size_t                  /* image_width */,
139                   size_t                  /* image_height */,
140                   size_t                  /* image_row_pitch */, 
141                   void *                  /* host_ptr */,
142                   cl_int *                /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
143 16: |-
144   CL_API_ENTRY cl_mem CL_API_CALL
145   clCreateImage3D(cl_context              /* context */,
146                   cl_mem_flags            /* flags */,
147                   const cl_image_format * /* image_format */,
148                   size_t                  /* image_width */, 
149                   size_t                  /* image_height */,
150                   size_t                  /* image_depth */, 
151                   size_t                  /* image_row_pitch */, 
152                   size_t                  /* image_slice_pitch */, 
153                   void *                  /* host_ptr */,
154                   cl_int *                /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
155 17: |-
156   CL_API_ENTRY cl_int CL_API_CALL
157   clRetainMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
158 18: |-
159   CL_API_ENTRY cl_int CL_API_CALL
160   clReleaseMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
161 19: |-
162   CL_API_ENTRY cl_int CL_API_CALL
163   clGetSupportedImageFormats(cl_context           /* context */,
164                              cl_mem_flags         /* flags */,
165                              cl_mem_object_type   /* image_type */,
166                              cl_uint              /* num_entries */,
167                              cl_image_format *    /* image_formats */,
168                              cl_uint *            /* num_image_formats */) CL_API_SUFFIX__VERSION_1_0;
169 20: |-
170   CL_API_ENTRY cl_int CL_API_CALL
171   clGetMemObjectInfo(cl_mem           /* memobj */,
172                      cl_mem_info      /* param_name */, 
173                      size_t           /* param_value_size */,
174                      void *           /* param_value */,
175                      size_t *         /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
176 21: |-
177   CL_API_ENTRY cl_int CL_API_CALL
178   clGetImageInfo(cl_mem           /* image */,
179                  cl_image_info    /* param_name */, 
180                  size_t           /* param_value_size */,
181                  void *           /* param_value */,
182                  size_t *         /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
183 22: |-
184   CL_API_ENTRY cl_sampler CL_API_CALL
185   clCreateSampler(cl_context          /* context */,
186                   cl_bool             /* normalized_coords */, 
187                   cl_addressing_mode  /* addressing_mode */, 
188                   cl_filter_mode      /* filter_mode */,
189                   cl_int *            /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
190 23: |-
191   CL_API_ENTRY cl_int CL_API_CALL
192   clRetainSampler(cl_sampler /* sampler */) CL_API_SUFFIX__VERSION_1_0;
193 24: |-
194   CL_API_ENTRY cl_int CL_API_CALL
195   clReleaseSampler(cl_sampler /* sampler */) CL_API_SUFFIX__VERSION_1_0;
196 25: |-
197   CL_API_ENTRY cl_int CL_API_CALL
198   clGetSamplerInfo(cl_sampler         /* sampler */,
199                    cl_sampler_info    /* param_name */,
200                    size_t             /* param_value_size */,
201                    void *             /* param_value */,
202                    size_t *           /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
203 26: |-
204   CL_API_ENTRY cl_program CL_API_CALL
205   clCreateProgramWithSource(cl_context        /* context */,
206                             cl_uint           /* count */,
207                             const char **     /* strings */,
208                             const size_t *    /* lengths */,
209                             cl_int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
210 27: |-
211   CL_API_ENTRY cl_program CL_API_CALL
212   clCreateProgramWithBinary(cl_context                     /* context */,
213                             cl_uint                        /* num_devices */,
214                             const cl_device_id *           /* device_list */,
215                             const size_t *                 /* lengths */,
216                             const unsigned char **         /* binaries */,
217                             cl_int *                       /* binary_status */,
218                             cl_int *                       /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
219 28: |-
220   CL_API_ENTRY cl_int CL_API_CALL
221   clRetainProgram(cl_program /* program */) CL_API_SUFFIX__VERSION_1_0;
222 29: |-
223   CL_API_ENTRY cl_int CL_API_CALL
224   clReleaseProgram(cl_program /* program */) CL_API_SUFFIX__VERSION_1_0;
225 30: |-
226   CL_API_ENTRY cl_int CL_API_CALL
227   clBuildProgram(cl_program           /* program */,
228                  cl_uint              /* num_devices */,
229                  const cl_device_id * /* device_list */,
230                  const char *         /* options */, 
231                  void (CL_CALLBACK *  /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
232                  void *               /* user_data */) CL_API_SUFFIX__VERSION_1_0;
233 31: |-
234   CL_API_ENTRY cl_int CL_API_CALL
235   clUnloadCompiler( void ) CL_API_SUFFIX__VERSION_1_0;
236 32: |-
237   CL_API_ENTRY cl_int CL_API_CALL
238   clGetProgramInfo(cl_program         /* program */,
239                    cl_program_info    /* param_name */,
240                    size_t             /* param_value_size */,
241                    void *             /* param_value */,
242                    size_t *           /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
243 33: |-
244   CL_API_ENTRY cl_int CL_API_CALL
245   clGetProgramBuildInfo(cl_program            /* program */,
246                         cl_device_id          /* device */,
247                         cl_program_build_info /* param_name */,
248                         size_t                /* param_value_size */,
249                         void *                /* param_value */,
250                         size_t *              /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
251 34: |-
252   CL_API_ENTRY cl_kernel CL_API_CALL
253   clCreateKernel(cl_program      /* program */,
254                  const char *    /* kernel_name */,
255                  cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
256 35: |-
257   CL_API_ENTRY cl_int CL_API_CALL
258   clCreateKernelsInProgram(cl_program     /* program */,
259                            cl_uint        /* num_kernels */,
260                            cl_kernel *    /* kernels */,
261                            cl_uint *      /* num_kernels_ret */) CL_API_SUFFIX__VERSION_1_0;
262 36: |-
263   CL_API_ENTRY cl_int CL_API_CALL
264   clRetainKernel(cl_kernel    /* kernel */) CL_API_SUFFIX__VERSION_1_0;
265 37: |-
266   CL_API_ENTRY cl_int CL_API_CALL
267   clReleaseKernel(cl_kernel   /* kernel */) CL_API_SUFFIX__VERSION_1_0;
268 38: |-
269   CL_API_ENTRY cl_int CL_API_CALL
270   clSetKernelArg(cl_kernel    /* kernel */,
271                  cl_uint      /* arg_index */,
272                  size_t       /* arg_size */,
273                  const void * /* arg_value */) CL_API_SUFFIX__VERSION_1_0;
274 39: |-
275   CL_API_ENTRY cl_int CL_API_CALL
276   clGetKernelInfo(cl_kernel       /* kernel */,
277                   cl_kernel_info  /* param_name */,
278                   size_t          /* param_value_size */,
279                   void *          /* param_value */,
280                   size_t *        /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
281 40: |-
282   CL_API_ENTRY cl_int CL_API_CALL
283   clGetKernelWorkGroupInfo(cl_kernel                  /* kernel */,
284                            cl_device_id               /* device */,
285                            cl_kernel_work_group_info  /* param_name */,
286                            size_t                     /* param_value_size */,
287                            void *                     /* param_value */,
288                            size_t *                   /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
289 41: |-
290   CL_API_ENTRY cl_int CL_API_CALL
291   clWaitForEvents(cl_uint             /* num_events */,
292                   const cl_event *    /* event_list */) CL_API_SUFFIX__VERSION_1_0;
293 42: |-
294   CL_API_ENTRY cl_int CL_API_CALL
295   clGetEventInfo(cl_event         /* event */,
296                  cl_event_info    /* param_name */,
297                  size_t           /* param_value_size */,
298                  void *           /* param_value */,
299                  size_t *         /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
300 43: |-
301   CL_API_ENTRY cl_int CL_API_CALL
302   clRetainEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
303 44: |-
304   CL_API_ENTRY cl_int CL_API_CALL
305   clReleaseEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
306 45: |-
307   CL_API_ENTRY cl_int CL_API_CALL
308   clGetEventProfilingInfo(cl_event            /* event */,
309                           cl_profiling_info   /* param_name */,
310                           size_t              /* param_value_size */,
311                           void *              /* param_value */,
312                           size_t *            /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
313 46: |-
314   CL_API_ENTRY cl_int CL_API_CALL
315   clFlush(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
316 47: |-
317   CL_API_ENTRY cl_int CL_API_CALL
318   clFinish(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
319 48: |-
320   CL_API_ENTRY cl_int CL_API_CALL
321   clEnqueueReadBuffer(cl_command_queue    /* command_queue */,
322                       cl_mem              /* buffer */,
323                       cl_bool             /* blocking_read */,
324                       size_t              /* offset */,
325                       size_t              /* cb */, 
326                       void *              /* ptr */,
327                       cl_uint             /* num_events_in_wait_list */,
328                       const cl_event *    /* event_wait_list */,
329                       cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
330 49: |-
331   CL_API_ENTRY cl_int CL_API_CALL
332   clEnqueueWriteBuffer(cl_command_queue   /* command_queue */, 
333                        cl_mem             /* buffer */, 
334                        cl_bool            /* blocking_write */, 
335                        size_t             /* offset */, 
336                        size_t             /* cb */, 
337                        const void *       /* ptr */, 
338                        cl_uint            /* num_events_in_wait_list */, 
339                        const cl_event *   /* event_wait_list */, 
340                        cl_event *         /* event */) CL_API_SUFFIX__VERSION_1_0;
341 50: |-
342   CL_API_ENTRY cl_int CL_API_CALL
343   clEnqueueCopyBuffer(cl_command_queue    /* command_queue */, 
344                       cl_mem              /* src_buffer */,
345                       cl_mem              /* dst_buffer */, 
346                       size_t              /* src_offset */,
347                       size_t              /* dst_offset */,
348                       size_t              /* cb */, 
349                       cl_uint             /* num_events_in_wait_list */,
350                       const cl_event *    /* event_wait_list */,
351                       cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
352 51: |-
353   CL_API_ENTRY cl_int CL_API_CALL
354   clEnqueueReadImage(cl_command_queue     /* command_queue */,
355                      cl_mem               /* image */,
356                      cl_bool              /* blocking_read */, 
357                      const size_t *       /* origin[3] */,
358                      const size_t *       /* region[3] */,
359                      size_t               /* row_pitch */,
360                      size_t               /* slice_pitch */, 
361                      void *               /* ptr */,
362                      cl_uint              /* num_events_in_wait_list */,
363                      const cl_event *     /* event_wait_list */,
364                      cl_event *           /* event */) CL_API_SUFFIX__VERSION_1_0;
365 52: |-
366   CL_API_ENTRY cl_int CL_API_CALL
367   clEnqueueWriteImage(cl_command_queue    /* command_queue */,
368                       cl_mem              /* image */,
369                       cl_bool             /* blocking_write */, 
370                       const size_t *      /* origin[3] */,
371                       const size_t *      /* region[3] */,
372                       size_t              /* input_row_pitch */,
373                       size_t              /* input_slice_pitch */, 
374                       const void *        /* ptr */,
375                       cl_uint             /* num_events_in_wait_list */,
376                       const cl_event *    /* event_wait_list */,
377                       cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
378 53: |-
379   CL_API_ENTRY cl_int CL_API_CALL
380   clEnqueueCopyImage(cl_command_queue     /* command_queue */,
381                      cl_mem               /* src_image */,
382                      cl_mem               /* dst_image */, 
383                      const size_t *       /* src_origin[3] */,
384                      const size_t *       /* dst_origin[3] */,
385                      const size_t *       /* region[3] */, 
386                      cl_uint              /* num_events_in_wait_list */,
387                      const cl_event *     /* event_wait_list */,
388                      cl_event *           /* event */) CL_API_SUFFIX__VERSION_1_0;
389 54: |-
390   CL_API_ENTRY cl_int CL_API_CALL
391   clEnqueueCopyImageToBuffer(cl_command_queue /* command_queue */,
392                              cl_mem           /* src_image */,
393                              cl_mem           /* dst_buffer */, 
394                              const size_t *   /* src_origin[3] */,
395                              const size_t *   /* region[3] */, 
396                              size_t           /* dst_offset */,
397                              cl_uint          /* num_events_in_wait_list */,
398                              const cl_event * /* event_wait_list */,
399                              cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_0;
400 55: |-
401   CL_API_ENTRY cl_int CL_API_CALL
402   clEnqueueCopyBufferToImage(cl_command_queue /* command_queue */,
403                              cl_mem           /* src_buffer */,
404                              cl_mem           /* dst_image */, 
405                              size_t           /* src_offset */,
406                              const size_t *   /* dst_origin[3] */,
407                              const size_t *   /* region[3] */, 
408                              cl_uint          /* num_events_in_wait_list */,
409                              const cl_event * /* event_wait_list */,
410                              cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_0;
411 56: |-
412   CL_API_ENTRY void * CL_API_CALL
413   clEnqueueMapBuffer(cl_command_queue /* command_queue */,
414                      cl_mem           /* buffer */,
415                      cl_bool          /* blocking_map */, 
416                      cl_map_flags     /* map_flags */,
417                      size_t           /* offset */,
418                      size_t           /* cb */,
419                      cl_uint          /* num_events_in_wait_list */,
420                      const cl_event * /* event_wait_list */,
421                      cl_event *       /* event */,
422                      cl_int *         /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
423 57: |-
424   CL_API_ENTRY void * CL_API_CALL
425   clEnqueueMapImage(cl_command_queue  /* command_queue */,
426                     cl_mem            /* image */, 
427                     cl_bool           /* blocking_map */, 
428                     cl_map_flags      /* map_flags */, 
429                     const size_t *    /* origin[3] */,
430                     const size_t *    /* region[3] */,
431                     size_t *          /* image_row_pitch */,
432                     size_t *          /* image_slice_pitch */,
433                     cl_uint           /* num_events_in_wait_list */,
434                     const cl_event *  /* event_wait_list */,
435                     cl_event *        /* event */,
436                     cl_int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
437 58: |-
438   CL_API_ENTRY cl_int CL_API_CALL
439   clEnqueueUnmapMemObject(cl_command_queue /* command_queue */,
440                           cl_mem           /* memobj */,
441                           void *           /* mapped_ptr */,
442                           cl_uint          /* num_events_in_wait_list */,
443                           const cl_event *  /* event_wait_list */,
444                           cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_0;
445 59: |-
446   CL_API_ENTRY cl_int CL_API_CALL
447   clEnqueueNDRangeKernel(cl_command_queue /* command_queue */,
448                          cl_kernel        /* kernel */,
449                          cl_uint          /* work_dim */,
450                          const size_t *   /* global_work_offset */,
451                          const size_t *   /* global_work_size */,
452                          const size_t *   /* local_work_size */,
453                          cl_uint          /* num_events_in_wait_list */,
454                          const cl_event * /* event_wait_list */,
455                          cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_0;
456 60: |-
457   CL_API_ENTRY cl_int CL_API_CALL
458   clEnqueueTask(cl_command_queue  /* command_queue */,
459                 cl_kernel         /* kernel */,
460                 cl_uint           /* num_events_in_wait_list */,
461                 const cl_event *  /* event_wait_list */,
462                 cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_0;
463 61: |-
464   CL_API_ENTRY cl_int CL_API_CALL
465   clEnqueueNativeKernel(cl_command_queue  /* command_queue */,
466                                           void (*user_func)(void *), 
467                         void *            /* args */,
468                         size_t            /* cb_args */, 
469                         cl_uint           /* num_mem_objects */,
470                         const cl_mem *    /* mem_list */,
471                         const void **     /* args_mem_loc */,
472                         cl_uint           /* num_events_in_wait_list */,
473                         const cl_event *  /* event_wait_list */,
474                         cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_0;
475 62: |-
476   CL_API_ENTRY cl_int CL_API_CALL
477   clEnqueueMarker(cl_command_queue    /* command_queue */,
478                   cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
479 63: |-
480   CL_API_ENTRY cl_int CL_API_CALL
481   clEnqueueWaitForEvents(cl_command_queue /* command_queue */,
482                          cl_uint          /* num_events */,
483                          const cl_event * /* event_list */) CL_API_SUFFIX__VERSION_1_0;
484 64: |-
485   CL_API_ENTRY cl_int CL_API_CALL
486   clEnqueueBarrier(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
487 65: |-
488   CL_API_ENTRY void * CL_API_CALL
489   clGetExtensionFunctionAddress(const char * /* func_name */) CL_API_SUFFIX__VERSION_1_0;
490 66: |-
491   CL_API_ENTRY cl_mem CL_API_CALL
492   clCreateFromGLBuffer(cl_context     /* context */,
493                        cl_mem_flags   /* flags */,
494                        cl_GLuint      /* bufobj */,
495                        int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
496 67: |-
497   CL_API_ENTRY cl_mem CL_API_CALL
498   clCreateFromGLTexture2D(cl_context      /* context */,
499                           cl_mem_flags    /* flags */,
500                           cl_GLenum       /* target */,
501                           cl_GLint        /* miplevel */,
502                           cl_GLuint       /* texture */,
503                           cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
504 68: |-
505   CL_API_ENTRY cl_mem CL_API_CALL
506   clCreateFromGLTexture3D(cl_context      /* context */,
507                           cl_mem_flags    /* flags */,
508                           cl_GLenum       /* target */,
509                           cl_GLint        /* miplevel */,
510                           cl_GLuint       /* texture */,
511                           cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
512 69: |-
513   CL_API_ENTRY cl_mem CL_API_CALL
514   clCreateFromGLRenderbuffer(cl_context   /* context */,
515                              cl_mem_flags /* flags */,
516                              cl_GLuint    /* renderbuffer */,
517                              cl_int *     /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
518 70: |-
519   CL_API_ENTRY cl_int CL_API_CALL
520   clGetGLObjectInfo(cl_mem                /* memobj */,
521                     cl_gl_object_type *   /* gl_object_type */,
522                     cl_GLuint *              /* gl_object_name */) CL_API_SUFFIX__VERSION_1_0;
523 71: |-
524   CL_API_ENTRY cl_int CL_API_CALL
525   clGetGLTextureInfo(cl_mem               /* memobj */,
526                      cl_gl_texture_info   /* param_name */,
527                      size_t               /* param_value_size */,
528                      void *               /* param_value */,
529                      size_t *             /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
530 72: |-
531   CL_API_ENTRY cl_int CL_API_CALL
532   clEnqueueAcquireGLObjects(cl_command_queue      /* command_queue */,
533                             cl_uint               /* num_objects */,
534                             const cl_mem *        /* mem_objects */,
535                             cl_uint               /* num_events_in_wait_list */,
536                             const cl_event *      /* event_wait_list */,
537                             cl_event *            /* event */) CL_API_SUFFIX__VERSION_1_0;
538 73: |-
539   CL_API_ENTRY cl_int CL_API_CALL
540   clEnqueueReleaseGLObjects(cl_command_queue      /* command_queue */,
541                             cl_uint               /* num_objects */,
542                             const cl_mem *        /* mem_objects */,
543                             cl_uint               /* num_events_in_wait_list */,
544                             const cl_event *      /* event_wait_list */,
545                             cl_event *            /* event */) CL_API_SUFFIX__VERSION_1_0;
546 74: |-
547   CL_API_ENTRY cl_int CL_API_CALL
548   clGetGLContextInfoKHR(const cl_context_properties * /* properties */,
549                         cl_gl_context_info            /* param_name */,
550                         size_t                        /* param_value_size */,
551                         void *                        /* param_value */,
552                         size_t *                      /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
553 75: |-
554   CL_API_ENTRY cl_int CL_API_CALL
555   clGetDeviceIDsFromD3D10KHR(cl_platform_id             /* platform */,
556                              cl_d3d10_device_source_khr /* d3d_device_source */,
557                              void *                     /* d3d_object */,
558                              cl_d3d10_device_set_khr    /* d3d_device_set */,
559                              cl_uint                    /* num_entries */,
560                              cl_device_id *             /* devices */,
561                              cl_uint *                  /* num_devices */) CL_API_SUFFIX__VERSION_1_0;
562 76: |-
563   CL_API_ENTRY cl_mem CL_API_CALL
564   clCreateFromD3D10BufferKHR(cl_context     /* context */,
565                              cl_mem_flags   /* flags */,
566                              ID3D10Buffer * /* resource */,
567                              cl_int *       /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
568 77: |-
569   CL_API_ENTRY cl_mem CL_API_CALL
570   clCreateFromD3D10Texture2DKHR(cl_context        /* context */,
571                                 cl_mem_flags      /* flags */,
572                                 ID3D10Texture2D * /* resource */,
573                                 UINT              /* subresource */,
574                                 cl_int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
575 78: |-
576   CL_API_ENTRY cl_mem CL_API_CALL
577   clCreateFromD3D10Texture3DKHR(cl_context        /* context */,
578                                 cl_mem_flags      /* flags */,
579                                 ID3D10Texture3D * /* resource */,
580                                 UINT              /* subresource */,
581                                 cl_int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
582 79: |-
583   CL_API_ENTRY cl_int CL_API_CALL
584   clEnqueueAcquireD3D10ObjectsKHR(cl_command_queue /* command_queue */,
585                                   cl_uint          /* num_objects */,
586                                   const cl_mem *   /* mem_objects */,
587                                   cl_uint          /* num_events_in_wait_list */,
588                                   const cl_event * /* event_wait_list */,
589                                   cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_0;
590 80: |-
591   CL_API_ENTRY cl_int CL_API_CALL
592   clEnqueueReleaseD3D10ObjectsKHR(cl_command_queue /* command_queue */,
593                                   cl_uint          /* num_objects */,
594                                   const cl_mem *   /* mem_objects */,
595                                   cl_uint          /* num_events_in_wait_list */,
596                                   const cl_event * /* event_wait_list */,
597                                   cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_0;
598 81: |-
599   CL_API_ENTRY cl_int CL_API_CALL
600   clSetEventCallback( cl_event    /* event */,
601                       cl_int      /* command_exec_callback_type */,
602                       void (CL_CALLBACK * /* pfn_notify */)(cl_event, cl_int, void *),
603                       void *      /* user_data */) CL_API_SUFFIX__VERSION_1_1;
604 82: |-
605   CL_API_ENTRY cl_mem CL_API_CALL
606   clCreateSubBuffer(cl_mem                   /* buffer */,
607                     cl_mem_flags             /* flags */,
608                     cl_buffer_create_type    /* buffer_create_type */,
609                     const void *             /* buffer_create_info */,
610                     cl_int *                 /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
611 83: |-
612   CL_API_ENTRY cl_int CL_API_CALL
613   clSetMemObjectDestructorCallback(  cl_mem /* memobj */, 
614                                       void (CL_CALLBACK * /*pfn_notify*/)( cl_mem /* memobj */, void* /*user_data*/), 
615                                       void * /*user_data */ )             CL_API_SUFFIX__VERSION_1_1;
616 84: |-
617   CL_API_ENTRY cl_event CL_API_CALL
618   clCreateUserEvent(cl_context    /* context */,
619                     cl_int *      /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
620 85: |-
621   CL_API_ENTRY cl_int CL_API_CALL
622   clSetUserEventStatus(cl_event   /* event */,
623                        cl_int     /* execution_status */) CL_API_SUFFIX__VERSION_1_1;
624 86: |-
625   CL_API_ENTRY cl_int CL_API_CALL
626   clEnqueueReadBufferRect(cl_command_queue    /* command_queue */,
627                           cl_mem              /* buffer */,
628                           cl_bool             /* blocking_read */,
629                           const size_t *      /* buffer_origin */,
630                           const size_t *      /* host_origin */, 
631                           const size_t *      /* region */,
632                           size_t              /* buffer_row_pitch */,
633                           size_t              /* buffer_slice_pitch */,
634                           size_t              /* host_row_pitch */,
635                           size_t              /* host_slice_pitch */,                        
636                           void *              /* ptr */,
637                           cl_uint             /* num_events_in_wait_list */,
638                           const cl_event *    /* event_wait_list */,
639                           cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_1;
640 87: |-
641   CL_API_ENTRY cl_int CL_API_CALL
642   clEnqueueWriteBufferRect(cl_command_queue    /* command_queue */,
643                            cl_mem              /* buffer */,
644                            cl_bool             /* blocking_write */,
645                            const size_t *      /* buffer_origin */,
646                            const size_t *      /* host_origin */, 
647                            const size_t *      /* region */,
648                            size_t              /* buffer_row_pitch */,
649                            size_t              /* buffer_slice_pitch */,
650                            size_t              /* host_row_pitch */,
651                            size_t              /* host_slice_pitch */,                        
652                            const void *        /* ptr */,
653                            cl_uint             /* num_events_in_wait_list */,
654                            const cl_event *    /* event_wait_list */,
655                            cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_1;
656 88: |-
657   CL_API_ENTRY cl_int CL_API_CALL
658   clEnqueueCopyBufferRect(cl_command_queue    /* command_queue */, 
659                           cl_mem              /* src_buffer */,
660                           cl_mem              /* dst_buffer */, 
661                           const size_t *      /* src_origin */,
662                           const size_t *      /* dst_origin */,
663                           const size_t *      /* region */, 
664                           size_t              /* src_row_pitch */,
665                           size_t              /* src_slice_pitch */,
666                           size_t              /* dst_row_pitch */,
667                           size_t              /* dst_slice_pitch */,
668                           cl_uint             /* num_events_in_wait_list */,
669                           const cl_event *    /* event_wait_list */,
670                           cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_1;
671 89: |-
672   CL_API_ENTRY cl_int CL_API_CALL
673       clCreateSubDevicesEXT(  cl_device_id /*in_device*/,
674                               const cl_device_partition_property_ext * /* properties */,
675                               cl_uint /*num_entries*/,
676                               cl_device_id * /*out_devices*/,
677                               cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;
678 90: |-
679   CL_API_ENTRY cl_int CL_API_CALL
680       clRetainDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
681 91: |-
682   CL_API_ENTRY cl_int CL_API_CALL
683       clReleaseDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
684 92: |-
685   CL_API_ENTRY cl_event CL_API_CALL
686   clCreateEventFromGLsyncKHR(cl_context           /* context */,
687                              cl_GLsync            /* cl_GLsync */,
688                              cl_int *             /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_1;
689 93: |-
690   CL_API_ENTRY cl_int CL_API_CALL
691   clCreateSubDevices(cl_device_id                         /* in_device */,
692                      const cl_device_partition_property * /* properties */,
693                      cl_uint                              /* num_devices */,
694                      cl_device_id *                       /* out_devices */,
695                      cl_uint *                            /* num_devices_ret */) CL_API_SUFFIX__VERSION_1_2;
696 94: |-
697   CL_API_ENTRY cl_int CL_API_CALL
698   clRetainDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
699 95: |-
700   CL_API_ENTRY cl_int CL_API_CALL
701   clReleaseDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
702 96: |-
703   CL_API_ENTRY cl_mem CL_API_CALL
704   clCreateImage(cl_context              /* context */,
705                 cl_mem_flags            /* flags */,
706                 const cl_image_format * /* image_format */,
707                 const cl_image_desc *   /* image_desc */, 
708                 void *                  /* host_ptr */,
709                 cl_int *                /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
710 97: |-
711   CL_API_ENTRY cl_program CL_API_CALL
712   clCreateProgramWithBuiltInKernels(cl_context            /* context */,
713                                     cl_uint               /* num_devices */,
714                                     const cl_device_id *  /* device_list */,
715                                     const char *          /* kernel_names */,
716                                     cl_int *              /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
717 98: |-
718   CL_API_ENTRY cl_int CL_API_CALL
719   clCompileProgram(cl_program           /* program */,
720                    cl_uint              /* num_devices */,
721                    const cl_device_id * /* device_list */,
722                    const char *         /* options */, 
723                    cl_uint              /* num_input_headers */,
724                    const cl_program *   /* input_headers */,
725                    const char **        /* header_include_names */,
726                    void (CL_CALLBACK *  /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
727                    void *               /* user_data */) CL_API_SUFFIX__VERSION_1_2;
728 99: |-
729   CL_API_ENTRY cl_program CL_API_CALL
730   clLinkProgram(cl_context           /* context */,
731                 cl_uint              /* num_devices */,
732                 const cl_device_id * /* device_list */,
733                 const char *         /* options */, 
734                 cl_uint              /* num_input_programs */,
735                 const cl_program *   /* input_programs */,
736                 void (CL_CALLBACK *  /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
737                 void *               /* user_data */,
738                 cl_int *             /* errcode_ret */ ) CL_API_SUFFIX__VERSION_1_2;
739 100: |-
740   CL_API_ENTRY cl_int CL_API_CALL
741   clUnloadPlatformCompiler(cl_platform_id /* platform */) CL_API_SUFFIX__VERSION_1_2;
742 101: |-
743   CL_API_ENTRY cl_int CL_API_CALL
744   clGetKernelArgInfo(cl_kernel       /* kernel */,
745                      cl_uint         /* arg_indx */,
746                      cl_kernel_arg_info  /* param_name */,
747                      size_t          /* param_value_size */,
748                      void *          /* param_value */,
749                      size_t *        /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_2;
750 102: |-
751   CL_API_ENTRY cl_int CL_API_CALL
752   clEnqueueFillBuffer(cl_command_queue   /* command_queue */,
753                       cl_mem             /* buffer */, 
754                       const void *       /* pattern */, 
755                       size_t             /* pattern_size */, 
756                       size_t             /* offset */, 
757                       size_t             /* size */, 
758                       cl_uint            /* num_events_in_wait_list */, 
759                       const cl_event *   /* event_wait_list */, 
760                       cl_event *         /* event */) CL_API_SUFFIX__VERSION_1_2;
761 103: |-
762   CL_API_ENTRY cl_int CL_API_CALL
763   clEnqueueFillImage(cl_command_queue   /* command_queue */,
764                      cl_mem             /* image */, 
765                      const void *       /* fill_color */, 
766                      const size_t *     /* origin[3] */, 
767                      const size_t *     /* region[3] */, 
768                      cl_uint            /* num_events_in_wait_list */, 
769                      const cl_event *   /* event_wait_list */, 
770                      cl_event *         /* event */) CL_API_SUFFIX__VERSION_1_2;
771 104: |-
772   CL_API_ENTRY cl_int CL_API_CALL
773   clEnqueueMigrateMemObjects(cl_command_queue       /* command_queue */,
774                              cl_uint                /* num_mem_objects */,
775                              const cl_mem *         /* mem_objects */,
776                              cl_mem_migration_flags /* flags */,
777                              cl_uint                /* num_events_in_wait_list */,
778                              const cl_event *       /* event_wait_list */,
779                              cl_event *             /* event */) CL_API_SUFFIX__VERSION_1_2;
780 105: |-
781   CL_API_ENTRY cl_int CL_API_CALL
782   clEnqueueMarkerWithWaitList(cl_command_queue /* command_queue */,
783                               cl_uint           /* num_events_in_wait_list */,
784                               const cl_event *  /* event_wait_list */,
785                               cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_2;
786 106: |-
787   CL_API_ENTRY cl_int CL_API_CALL
788   clEnqueueBarrierWithWaitList(cl_command_queue /* command_queue */,
789                                cl_uint           /* num_events_in_wait_list */,
790                                const cl_event *  /* event_wait_list */,
791                                cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_2;
792 107: |-
793   CL_API_ENTRY void * CL_API_CALL 
794   clGetExtensionFunctionAddressForPlatform(cl_platform_id /* platform */,
795                                            const char *   /* func_name */) CL_API_SUFFIX__VERSION_1_2;
796 108: |-
797   CL_API_ENTRY cl_mem CL_API_CALL
798   clCreateFromGLTexture(cl_context      /* context */,
799                         cl_mem_flags    /* flags */,
800                         cl_GLenum       /* target */,
801                         cl_GLint        /* miplevel */,
802                         cl_GLuint       /* texture */,
803                         cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
804 109: |-
805   CL_API_ENTRY cl_int CL_API_CALL
806   clGetDeviceIDsFromD3D11KHR(cl_platform_id             /* platform */,
807                              cl_d3d11_device_source_khr /* d3d_device_source */,
808                              void *                     /* d3d_object */,
809                              cl_d3d11_device_set_khr    /* d3d_device_set */,
810                              cl_uint                    /* num_entries */,
811                              cl_device_id *             /* devices */,
812                              cl_uint *                  /* num_devices */) CL_API_SUFFIX__VERSION_1_2;
813 110: |-
814   CL_API_ENTRY cl_mem CL_API_CALL
815   clCreateFromD3D11BufferKHR(cl_context     /* context */,
816                              cl_mem_flags   /* flags */,
817                              ID3D11Buffer * /* resource */,
818                              cl_int *       /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
819 111: |-
820   CL_API_ENTRY cl_mem CL_API_CALL
821   clCreateFromD3D11Texture2DKHR(cl_context        /* context */,
822                                 cl_mem_flags      /* flags */,
823                                 ID3D11Texture2D * /* resource */,
824                                 UINT              /* subresource */,
825                                 cl_int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
826 112: |-
827   CL_API_ENTRY cl_mem CL_API_CALL
828   clCreateFromD3D11Texture3DKHR(cl_context        /* context */,
829                                 cl_mem_flags      /* flags */,
830                                 ID3D11Texture3D * /* resource */,
831                                 UINT              /* subresource */,
832                                 cl_int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
833 113: |-
834   CL_API_ENTRY cl_mem CL_API_CALL
835   clCreateFromDX9MediaSurfaceKHR(cl_context                    /* context */,
836                                  cl_mem_flags                  /* flags */,
837                                  cl_dx9_media_adapter_type_khr /* adapter_type */,
838                                  void *                        /* surface_info */,
839                                  cl_uint                       /* plane */,
840                                  cl_int *                      /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
841 114: |-
842   CL_API_ENTRY cl_int CL_API_CALL
843   clEnqueueAcquireD3D11ObjectsKHR(cl_command_queue /* command_queue */,
844                                   cl_uint          /* num_objects */,
845                                   const cl_mem *   /* mem_objects */,
846                                   cl_uint          /* num_events_in_wait_list */,
847                                   const cl_event * /* event_wait_list */,
848                                   cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_2;
849 115: |-
850   CL_API_ENTRY cl_int CL_API_CALL
851   clEnqueueReleaseD3D11ObjectsKHR(cl_command_queue /* command_queue */,
852                                   cl_uint          /* num_objects */,
853                                   const cl_mem *   /* mem_objects */,
854                                   cl_uint          /* num_events_in_wait_list */,
855                                   const cl_event * /* event_wait_list */,
856                                   cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_2;
857 116: |-
858   CL_API_ENTRY cl_int CL_API_CALL
859   clGetDeviceIDsFromDX9MediaAdapterKHR(cl_platform_id                   /* platform */,
860                                        cl_uint                          /* num_media_adapters */,
861                                        cl_dx9_media_adapter_type_khr *  /* media_adapter_type */,
862                                        void *                           /* media_adapters */,
863                                        cl_dx9_media_adapter_set_khr     /* media_adapter_set */,
864                                        cl_uint                          /* num_entries */,
865                                        cl_device_id *                   /* devices */,
866                                        cl_uint *                        /* num_devices */) CL_API_SUFFIX__VERSION_1_2;
867 117: |-
868   CL_API_ENTRY cl_int CL_API_CALL
869   clEnqueueAcquireDX9MediaSurfacesKHR(cl_command_queue /* command_queue */,
870                                       cl_uint          /* num_objects */,
871                                       const cl_mem *   /* mem_objects */,
872                                       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 118: |-
876   CL_API_ENTRY cl_int CL_API_CALL
877   clEnqueueReleaseDX9MediaSurfacesKHR(cl_command_queue /* command_queue */,
878                                       cl_uint          /* num_objects */,
879                                       cl_mem *         /* mem_objects */,
880                                       cl_uint          /* num_events_in_wait_list */,
881                                       const cl_event * /* event_wait_list */,
882                                       cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_2;
883 # Assuming usual numbering: order of appearance in cl.h
884 #119: |-
885 #  CL_API_ENTRY cl_command_queue CL_API_CALL
886 #  clCreateCommandQueueWithProperties(cl_context                  /* context */,
887 #                                     cl_device_id                /* device */,
888 #                                     const cl_queue_properties * /* properties */,
889 #                                     cl_int *                    /* errcode_ret */) CL_API_SUFFIX__VERSION_2_0;
890 #120: |-
891 #  CL_API_ENTRY cl_mem CL_API_CALL
892 #  clCreatePipe(cl_context                 /* context */,
893 #               cl_mem_flags               /* flags */,
894 #               cl_uint                    /* pipe_packet_size */,
895 #               cl_uint                    /* pipe_max_packets */,
896 #               const cl_pipe_properties * /* properties */,
897 #               cl_int *                   /* errcode_ret */) CL_API_SUFFIX__VERSION_2_0;
898 #121: |-
899 #  CL_API_ENTRY cl_int CL_API_CALL
900 #  clGetPipeInfo(cl_mem           /* pipe */,
901 #                cl_pipe_info     /* param_name */,
902 #                size_t           /* param_value_size */,
903 #                void *           /* param_value */,
904 #                size_t *         /* param_value_size_ret */) CL_API_SUFFIX__VERSION_2_0;
905 #122: |-
906 #  CL_API_ENTRY void * CL_API_CALL
907 #  clSVMAlloc(cl_context       /* context */,
908 #             cl_svm_mem_flags /* flags */,
909 #             size_t           /* size */,
910 #             cl_uint          /* alignment */) CL_API_SUFFIX__VERSION_2_0;
911 #123: |-
912 #  CL_API_ENTRY void CL_API_CALL
913 #  clSVMFree(cl_context        /* context */,
914 #            void *            /* svm_pointer */) CL_API_SUFFIX__VERSION_2_0;
915 #124: |-
916 #  CL_API_ENTRY cl_sampler CL_API_CALL
917 #  clCreateSamplerWithProperties(cl_context                     /* context */,
918 #                                const cl_sampler_properties *  /* normalized_coords */,
919 #                                cl_int *                       /* errcode_ret */) CL_API_SUFFIX__VERSION_2_0;
920 #125: |-
921 #  CL_API_ENTRY cl_int CL_API_CALL
922 #  clSetKernelArgSVMPointer(cl_kernel    /* kernel */,
923 #                           cl_uint      /* arg_index */,
924 #                           const void * /* arg_value */) CL_API_SUFFIX__VERSION_2_0;
925 #126: |-
926 #  CL_API_ENTRY cl_int CL_API_CALL
927 #  clSetKernelExecInfo(cl_kernel            /* kernel */,
928 #                      cl_kernel_exec_info  /* param_name */,
929 #                      size_t               /* param_value_size */,
930 #                      const void *         /* param_value */) CL_API_SUFFIX__VERSION_2_0;
931 #127: |-
932 #  CL_API_ENTRY cl_int CL_API_CALL
933 #  clEnqueueSVMFree(cl_command_queue  /* command_queue */,
934 #                   cl_uint           /* num_svm_pointers */,
935 #                   void *[]          /* svm_pointers[] */,
936 #                   void (CL_CALLBACK * /*pfn_free_func*/)(cl_command_queue /* queue */,
937 #                                                          cl_uint          /* num_svm_pointers */,
938 #                                                          void *[]         /* svm_pointers[] */,
939 #                                                          void *           /* user_data */),
940 #                   void *            /* user_data */,
941 #                   cl_uint           /* num_events_in_wait_list */,
942 #                   const cl_event *  /* event_wait_list */,
943 #                   cl_event *        /* event */) CL_API_SUFFIX__VERSION_2_0;
944 #128: |-
945 #  CL_API_ENTRY cl_int CL_API_CALL
946 #  clEnqueueSVMMemcpy(cl_command_queue  /* command_queue */,
947 #                     cl_bool           /* blocking_copy */,
948 #                     void *            /* dst_ptr */,
949 #                     const void *      /* src_ptr */,
950 #                     size_t            /* size */,
951 #                     cl_uint           /* num_events_in_wait_list */,
952 #                     const cl_event *  /* event_wait_list */,
953 #                     cl_event *        /* event */) CL_API_SUFFIX__VERSION_2_0;
954 #129: |-
955 #  CL_API_ENTRY cl_int CL_API_CALL
956 #  clEnqueueSVMMemFill(cl_command_queue  /* command_queue */,
957 #                      void *            /* svm_ptr */,
958 #                      const void *      /* pattern */,
959 #                      size_t            /* pattern_size */,
960 #                      size_t            /* size */,
961 #                      cl_uint           /* num_events_in_wait_list */,
962 #                      const cl_event *  /* event_wait_list */,
963 #                      cl_event *        /* event */) CL_API_SUFFIX__VERSION_2_0;
964 #130: |-
965 #  CL_API_ENTRY cl_int CL_API_CALL
966 #  clEnqueueSVMMap(cl_command_queue  /* command_queue */,
967 #                  cl_bool           /* blocking_map */,
968 #                  cl_map_flags      /* flags */,
969 #                  void *            /* svm_ptr */,
970 #                  size_t            /* size */,
971 #                  cl_uint           /* num_events_in_wait_list */,
972 #                  const cl_event *  /* event_wait_list */,
973 #                  cl_event *        /* event */) CL_API_SUFFIX__VERSION_2_0;
974 #131: |-
975 #  CL_API_ENTRY cl_int CL_API_CALL
976 #  clEnqueueSVMUnmap(cl_command_queue  /* command_queue */,
977 #                    void *            /* svm_ptr */,
978 #                    cl_uint           /* num_events_in_wait_list */,
979 #                    const cl_event *  /* event_wait_list */,
980 #                    cl_event *        /* event */) CL_API_SUFFIX__VERSION_2_0;