Update database from OpenCL 1.2 headers and AMD implementation
[ocl-icd] / ocl_interface.yaml
1 # Copyright (c) 2012, Brice Videau <brice.videau@imag.fr>
2 # All rights reserved.
3 #       
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are met:
6 #     
7 # 1. Redistributions of source code must retain the above copyright notice, this
8 #    list of conditions and the following disclaimer.
9 # 2. Redistributions in binary form must reproduce the above copyright notice,
10 #    this list of conditions and the following disclaimer in the documentation
11 #    and/or other materials provided with the distribution.
12 #         
13 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16 # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
17 # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
20 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
24 # Do not edit this file. It is automatically generated.
25 --- 
26 0: |-
27   CL_API_ENTRY cl_int CL_API_CALL
28   clGetPlatformIDs(cl_uint          /* num_entries */,
29                    cl_platform_id * /* platforms */,
30                    cl_uint *        /* num_platforms */) CL_API_SUFFIX__VERSION_1_0;
31 1: |-
32   CL_API_ENTRY cl_int CL_API_CALL 
33   clGetPlatformInfo(cl_platform_id   /* platform */, 
34                     cl_platform_info /* param_name */,
35                     size_t           /* param_value_size */, 
36                     void *           /* param_value */,
37                     size_t *         /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
38 2: |-
39   CL_API_ENTRY cl_int CL_API_CALL
40   clGetDeviceIDs(cl_platform_id   /* platform */,
41                  cl_device_type   /* device_type */, 
42                  cl_uint          /* num_entries */, 
43                  cl_device_id *   /* devices */, 
44                  cl_uint *        /* num_devices */) CL_API_SUFFIX__VERSION_1_0;
45 3: |-
46   CL_API_ENTRY cl_int CL_API_CALL
47   clGetDeviceInfo(cl_device_id    /* device */,
48                   cl_device_info  /* param_name */, 
49                   size_t          /* param_value_size */, 
50                   void *          /* param_value */,
51                   size_t *        /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
52 4: |-
53   CL_API_ENTRY cl_context CL_API_CALL
54   clCreateContext(const cl_context_properties * /* properties */,
55                   cl_uint                       /* num_devices */,
56                   const cl_device_id *          /* devices */,
57                   void (CL_CALLBACK * /* pfn_notify */)(const char *, const void *, size_t, void *),
58                   void *                        /* user_data */,
59                   cl_int *                      /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
60 5: |-
61   CL_API_ENTRY cl_context CL_API_CALL
62   clCreateContextFromType(const cl_context_properties * /* properties */,
63                           cl_device_type                /* device_type */,
64                           void (CL_CALLBACK *     /* pfn_notify*/ )(const char *, const void *, size_t, void *),
65                           void *                        /* user_data */,
66                           cl_int *                      /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
67 6: |-
68   CL_API_ENTRY cl_int CL_API_CALL
69   clRetainContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;
70 7: |-
71   CL_API_ENTRY cl_int CL_API_CALL
72   clReleaseContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;
73 8: |-
74   CL_API_ENTRY cl_int CL_API_CALL
75   clGetContextInfo(cl_context         /* context */, 
76                    cl_context_info    /* param_name */, 
77                    size_t             /* param_value_size */, 
78                    void *             /* param_value */, 
79                    size_t *           /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
80 9: |-
81   CL_API_ENTRY cl_command_queue CL_API_CALL
82   clCreateCommandQueue(cl_context                     /* context */, 
83                        cl_device_id                   /* device */, 
84                        cl_command_queue_properties    /* properties */,
85                        cl_int *                       /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
86 10: |-
87   CL_API_ENTRY cl_int CL_API_CALL
88   clRetainCommandQueue(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
89 11: |-
90   CL_API_ENTRY cl_int CL_API_CALL
91   clReleaseCommandQueue(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
92 12: |-
93   CL_API_ENTRY cl_int CL_API_CALL
94   clGetCommandQueueInfo(cl_command_queue      /* command_queue */,
95                         cl_command_queue_info /* param_name */,
96                         size_t                /* param_value_size */,
97                         void *                /* param_value */,
98                         size_t *              /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
99 13: |-
100   CL_API_ENTRY cl_int CL_API_CALL
101   clSetCommandQueueProperty(cl_command_queue              /* command_queue */,
102                             cl_command_queue_properties   /* properties */, 
103                             cl_bool                        /* enable */,
104                             cl_command_queue_properties * /* old_properties */) CL_EXT_SUFFIX__VERSION_1_0_DEPRECATED;
105 14: |-
106   CL_API_ENTRY cl_mem CL_API_CALL
107   clCreateBuffer(cl_context   /* context */,
108                  cl_mem_flags /* flags */,
109                  size_t       /* size */,
110                  void *       /* host_ptr */,
111                  cl_int *     /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
112 15: |-
113   CL_API_ENTRY cl_mem CL_API_CALL
114   clCreateImage2D(cl_context              /* context */,
115                   cl_mem_flags            /* flags */,
116                   const cl_image_format * /* image_format */,
117                   size_t                  /* image_width */,
118                   size_t                  /* image_height */,
119                   size_t                  /* image_row_pitch */, 
120                   void *                  /* host_ptr */,
121                   cl_int *                /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
122 16: |-
123   CL_API_ENTRY cl_mem CL_API_CALL
124   clCreateImage3D(cl_context              /* context */,
125                   cl_mem_flags            /* flags */,
126                   const cl_image_format * /* image_format */,
127                   size_t                  /* image_width */, 
128                   size_t                  /* image_height */,
129                   size_t                  /* image_depth */, 
130                   size_t                  /* image_row_pitch */, 
131                   size_t                  /* image_slice_pitch */, 
132                   void *                  /* host_ptr */,
133                   cl_int *                /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
134 17: |-
135   CL_API_ENTRY cl_int CL_API_CALL
136   clRetainMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
137 18: |-
138   CL_API_ENTRY cl_int CL_API_CALL
139   clReleaseMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
140 19: |-
141   CL_API_ENTRY cl_int CL_API_CALL
142   clGetSupportedImageFormats(cl_context           /* context */,
143                              cl_mem_flags         /* flags */,
144                              cl_mem_object_type   /* image_type */,
145                              cl_uint              /* num_entries */,
146                              cl_image_format *    /* image_formats */,
147                              cl_uint *            /* num_image_formats */) CL_API_SUFFIX__VERSION_1_0;
148 20: |-
149   CL_API_ENTRY cl_int CL_API_CALL
150   clGetMemObjectInfo(cl_mem           /* memobj */,
151                      cl_mem_info      /* param_name */, 
152                      size_t           /* param_value_size */,
153                      void *           /* param_value */,
154                      size_t *         /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
155 21: |-
156   CL_API_ENTRY cl_int CL_API_CALL
157   clGetImageInfo(cl_mem           /* image */,
158                  cl_image_info    /* param_name */, 
159                  size_t           /* param_value_size */,
160                  void *           /* param_value */,
161                  size_t *         /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
162 22: |-
163   CL_API_ENTRY cl_sampler CL_API_CALL
164   clCreateSampler(cl_context          /* context */,
165                   cl_bool             /* normalized_coords */, 
166                   cl_addressing_mode  /* addressing_mode */, 
167                   cl_filter_mode      /* filter_mode */,
168                   cl_int *            /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
169 23: |-
170   CL_API_ENTRY cl_int CL_API_CALL
171   clRetainSampler(cl_sampler /* sampler */) CL_API_SUFFIX__VERSION_1_0;
172 24: |-
173   CL_API_ENTRY cl_int CL_API_CALL
174   clReleaseSampler(cl_sampler /* sampler */) CL_API_SUFFIX__VERSION_1_0;
175 25: |-
176   CL_API_ENTRY cl_int CL_API_CALL
177   clGetSamplerInfo(cl_sampler         /* sampler */,
178                    cl_sampler_info    /* param_name */,
179                    size_t             /* param_value_size */,
180                    void *             /* param_value */,
181                    size_t *           /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
182 26: |-
183   CL_API_ENTRY cl_program CL_API_CALL
184   clCreateProgramWithSource(cl_context        /* context */,
185                             cl_uint           /* count */,
186                             const char **     /* strings */,
187                             const size_t *    /* lengths */,
188                             cl_int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
189 27: |-
190   CL_API_ENTRY cl_program CL_API_CALL
191   clCreateProgramWithBinary(cl_context                     /* context */,
192                             cl_uint                        /* num_devices */,
193                             const cl_device_id *           /* device_list */,
194                             const size_t *                 /* lengths */,
195                             const unsigned char **         /* binaries */,
196                             cl_int *                       /* binary_status */,
197                             cl_int *                       /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
198 28: |-
199   CL_API_ENTRY cl_int CL_API_CALL
200   clRetainProgram(cl_program /* program */) CL_API_SUFFIX__VERSION_1_0;
201 29: |-
202   CL_API_ENTRY cl_int CL_API_CALL
203   clReleaseProgram(cl_program /* program */) CL_API_SUFFIX__VERSION_1_0;
204 30: |-
205   CL_API_ENTRY cl_int CL_API_CALL
206   clBuildProgram(cl_program           /* program */,
207                  cl_uint              /* num_devices */,
208                  const cl_device_id * /* device_list */,
209                  const char *         /* options */, 
210                  void (CL_CALLBACK *  /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
211                  void *               /* user_data */) CL_API_SUFFIX__VERSION_1_0;
212 32: |-
213   CL_API_ENTRY cl_int CL_API_CALL
214   clGetProgramInfo(cl_program         /* program */,
215                    cl_program_info    /* param_name */,
216                    size_t             /* param_value_size */,
217                    void *             /* param_value */,
218                    size_t *           /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
219 33: |-
220   CL_API_ENTRY cl_int CL_API_CALL
221   clGetProgramBuildInfo(cl_program            /* program */,
222                         cl_device_id          /* device */,
223                         cl_program_build_info /* param_name */,
224                         size_t                /* param_value_size */,
225                         void *                /* param_value */,
226                         size_t *              /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
227 34: |-
228   CL_API_ENTRY cl_kernel CL_API_CALL
229   clCreateKernel(cl_program      /* program */,
230                  const char *    /* kernel_name */,
231                  cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
232 35: |-
233   CL_API_ENTRY cl_int CL_API_CALL
234   clCreateKernelsInProgram(cl_program     /* program */,
235                            cl_uint        /* num_kernels */,
236                            cl_kernel *    /* kernels */,
237                            cl_uint *      /* num_kernels_ret */) CL_API_SUFFIX__VERSION_1_0;
238 36: |-
239   CL_API_ENTRY cl_int CL_API_CALL
240   clRetainKernel(cl_kernel    /* kernel */) CL_API_SUFFIX__VERSION_1_0;
241 37: |-
242   CL_API_ENTRY cl_int CL_API_CALL
243   clReleaseKernel(cl_kernel   /* kernel */) CL_API_SUFFIX__VERSION_1_0;
244 38: |-
245   CL_API_ENTRY cl_int CL_API_CALL
246   clSetKernelArg(cl_kernel    /* kernel */,
247                  cl_uint      /* arg_index */,
248                  size_t       /* arg_size */,
249                  const void * /* arg_value */) CL_API_SUFFIX__VERSION_1_0;
250 39: |-
251   CL_API_ENTRY cl_int CL_API_CALL
252   clGetKernelInfo(cl_kernel       /* kernel */,
253                   cl_kernel_info  /* param_name */,
254                   size_t          /* param_value_size */,
255                   void *          /* param_value */,
256                   size_t *        /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
257 40: |-
258   CL_API_ENTRY cl_int CL_API_CALL
259   clGetKernelWorkGroupInfo(cl_kernel                  /* kernel */,
260                            cl_device_id               /* device */,
261                            cl_kernel_work_group_info  /* param_name */,
262                            size_t                     /* param_value_size */,
263                            void *                     /* param_value */,
264                            size_t *                   /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
265 41: |-
266   CL_API_ENTRY cl_int CL_API_CALL
267   clWaitForEvents(cl_uint             /* num_events */,
268                   const cl_event *    /* event_list */) CL_API_SUFFIX__VERSION_1_0;
269 42: |-
270   CL_API_ENTRY cl_int CL_API_CALL
271   clGetEventInfo(cl_event         /* event */,
272                  cl_event_info    /* param_name */,
273                  size_t           /* param_value_size */,
274                  void *           /* param_value */,
275                  size_t *         /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
276 43: |-
277   CL_API_ENTRY cl_int CL_API_CALL
278   clRetainEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
279 44: |-
280   CL_API_ENTRY cl_int CL_API_CALL
281   clReleaseEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
282 45: |-
283   CL_API_ENTRY cl_int CL_API_CALL
284   clGetEventProfilingInfo(cl_event            /* event */,
285                           cl_profiling_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 46: |-
290   CL_API_ENTRY cl_int CL_API_CALL
291   clFlush(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
292 47: |-
293   CL_API_ENTRY cl_int CL_API_CALL
294   clFinish(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
295 48: |-
296   CL_API_ENTRY cl_int CL_API_CALL
297   clEnqueueReadBuffer(cl_command_queue    /* command_queue */,
298                       cl_mem              /* buffer */,
299                       cl_bool             /* blocking_read */,
300                       size_t              /* offset */,
301                       size_t              /* cb */, 
302                       void *              /* ptr */,
303                       cl_uint             /* num_events_in_wait_list */,
304                       const cl_event *    /* event_wait_list */,
305                       cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
306 49: |-
307   CL_API_ENTRY cl_int CL_API_CALL
308   clEnqueueWriteBuffer(cl_command_queue   /* command_queue */, 
309                        cl_mem             /* buffer */, 
310                        cl_bool            /* blocking_write */, 
311                        size_t             /* offset */, 
312                        size_t             /* cb */, 
313                        const void *       /* ptr */, 
314                        cl_uint            /* num_events_in_wait_list */, 
315                        const cl_event *   /* event_wait_list */, 
316                        cl_event *         /* event */) CL_API_SUFFIX__VERSION_1_0;
317 50: |-
318   CL_API_ENTRY cl_int CL_API_CALL
319   clEnqueueCopyBuffer(cl_command_queue    /* command_queue */, 
320                       cl_mem              /* src_buffer */,
321                       cl_mem              /* dst_buffer */, 
322                       size_t              /* src_offset */,
323                       size_t              /* dst_offset */,
324                       size_t              /* cb */, 
325                       cl_uint             /* num_events_in_wait_list */,
326                       const cl_event *    /* event_wait_list */,
327                       cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
328 51: |-
329   CL_API_ENTRY cl_int CL_API_CALL
330   clEnqueueReadImage(cl_command_queue     /* command_queue */,
331                      cl_mem               /* image */,
332                      cl_bool              /* blocking_read */, 
333                      const size_t *       /* origin[3] */,
334                      const size_t *       /* region[3] */,
335                      size_t               /* row_pitch */,
336                      size_t               /* slice_pitch */, 
337                      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 52: |-
342   CL_API_ENTRY cl_int CL_API_CALL
343   clEnqueueWriteImage(cl_command_queue    /* command_queue */,
344                       cl_mem              /* image */,
345                       cl_bool             /* blocking_write */, 
346                       const size_t *      /* origin[3] */,
347                       const size_t *      /* region[3] */,
348                       size_t              /* input_row_pitch */,
349                       size_t              /* input_slice_pitch */, 
350                       const void *        /* ptr */,
351                       cl_uint             /* num_events_in_wait_list */,
352                       const cl_event *    /* event_wait_list */,
353                       cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
354 53: |-
355   CL_API_ENTRY cl_int CL_API_CALL
356   clEnqueueCopyImage(cl_command_queue     /* command_queue */,
357                      cl_mem               /* src_image */,
358                      cl_mem               /* dst_image */, 
359                      const size_t *       /* src_origin[3] */,
360                      const size_t *       /* dst_origin[3] */,
361                      const size_t *       /* region[3] */, 
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 54: |-
366   CL_API_ENTRY cl_int CL_API_CALL
367   clEnqueueCopyImageToBuffer(cl_command_queue /* command_queue */,
368                              cl_mem           /* src_image */,
369                              cl_mem           /* dst_buffer */, 
370                              const size_t *   /* src_origin[3] */,
371                              const size_t *   /* region[3] */, 
372                              size_t           /* dst_offset */,
373                              cl_uint          /* num_events_in_wait_list */,
374                              const cl_event * /* event_wait_list */,
375                              cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_0;
376 55: |-
377   CL_API_ENTRY cl_int CL_API_CALL
378   clEnqueueCopyBufferToImage(cl_command_queue /* command_queue */,
379                              cl_mem           /* src_buffer */,
380                              cl_mem           /* dst_image */, 
381                              size_t           /* src_offset */,
382                              const size_t *   /* dst_origin[3] */,
383                              const size_t *   /* region[3] */, 
384                              cl_uint          /* num_events_in_wait_list */,
385                              const cl_event * /* event_wait_list */,
386                              cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_0;
387 56: |-
388   CL_API_ENTRY void * CL_API_CALL
389   clEnqueueMapBuffer(cl_command_queue /* command_queue */,
390                      cl_mem           /* buffer */,
391                      cl_bool          /* blocking_map */, 
392                      cl_map_flags     /* map_flags */,
393                      size_t           /* offset */,
394                      size_t           /* cb */,
395                      cl_uint          /* num_events_in_wait_list */,
396                      const cl_event * /* event_wait_list */,
397                      cl_event *       /* event */,
398                      cl_int *         /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
399 57: |-
400   CL_API_ENTRY void * CL_API_CALL
401   clEnqueueMapImage(cl_command_queue  /* command_queue */,
402                     cl_mem            /* image */, 
403                     cl_bool           /* blocking_map */, 
404                     cl_map_flags      /* map_flags */, 
405                     const size_t *    /* origin[3] */,
406                     const size_t *    /* region[3] */,
407                     size_t *          /* image_row_pitch */,
408                     size_t *          /* image_slice_pitch */,
409                     cl_uint           /* num_events_in_wait_list */,
410                     const cl_event *  /* event_wait_list */,
411                     cl_event *        /* event */,
412                     cl_int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
413 58: |-
414   CL_API_ENTRY cl_int CL_API_CALL
415   clEnqueueUnmapMemObject(cl_command_queue /* command_queue */,
416                           cl_mem           /* memobj */,
417                           void *           /* mapped_ptr */,
418                           cl_uint          /* num_events_in_wait_list */,
419                           const cl_event *  /* event_wait_list */,
420                           cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_0;
421 59: |-
422   CL_API_ENTRY cl_int CL_API_CALL
423   clEnqueueNDRangeKernel(cl_command_queue /* command_queue */,
424                          cl_kernel        /* kernel */,
425                          cl_uint          /* work_dim */,
426                          const size_t *   /* global_work_offset */,
427                          const size_t *   /* global_work_size */,
428                          const size_t *   /* local_work_size */,
429                          cl_uint          /* num_events_in_wait_list */,
430                          const cl_event * /* event_wait_list */,
431                          cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_0;
432 60: |-
433   CL_API_ENTRY cl_int CL_API_CALL
434   clEnqueueTask(cl_command_queue  /* command_queue */,
435                 cl_kernel         /* kernel */,
436                 cl_uint           /* num_events_in_wait_list */,
437                 const cl_event *  /* event_wait_list */,
438                 cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_0;
439 61: |-
440   CL_API_ENTRY cl_int CL_API_CALL
441   clEnqueueNativeKernel(cl_command_queue  /* command_queue */,
442                                           void (*user_func)(void *), 
443                         void *            /* args */,
444                         size_t            /* cb_args */, 
445                         cl_uint           /* num_mem_objects */,
446                         const cl_mem *    /* mem_list */,
447                         const void **     /* args_mem_loc */,
448                         cl_uint           /* num_events_in_wait_list */,
449                         const cl_event *  /* event_wait_list */,
450                         cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_0;
451 62: |-
452   CL_API_ENTRY cl_int CL_API_CALL
453   clEnqueueMarker(cl_command_queue    /* command_queue */,
454                   cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
455 63: |-
456   CL_API_ENTRY cl_int CL_API_CALL
457   clEnqueueWaitForEvents(cl_command_queue /* command_queue */,
458                          cl_uint          /* num_events */,
459                          const cl_event * /* event_list */) CL_API_SUFFIX__VERSION_1_0;
460 64: |-
461   CL_API_ENTRY cl_int CL_API_CALL
462   clEnqueueBarrier(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
463 66: |-
464   CL_API_ENTRY cl_mem CL_API_CALL
465   clCreateFromGLBuffer(cl_context     /* context */,
466                        cl_mem_flags   /* flags */,
467                        cl_GLuint      /* bufobj */,
468                        int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
469 67: |-
470   CL_API_ENTRY cl_mem CL_API_CALL
471   clCreateFromGLTexture2D(cl_context      /* context */,
472                           cl_mem_flags    /* flags */,
473                           cl_GLenum       /* target */,
474                           cl_GLint        /* miplevel */,
475                           cl_GLuint       /* texture */,
476                           cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
477 68: |-
478   CL_API_ENTRY cl_mem CL_API_CALL
479   clCreateFromGLTexture3D(cl_context      /* context */,
480                           cl_mem_flags    /* flags */,
481                           cl_GLenum       /* target */,
482                           cl_GLint        /* miplevel */,
483                           cl_GLuint       /* texture */,
484                           cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
485 69: |-
486   CL_API_ENTRY cl_mem CL_API_CALL
487   clCreateFromGLRenderbuffer(cl_context   /* context */,
488                              cl_mem_flags /* flags */,
489                              cl_GLuint    /* renderbuffer */,
490                              cl_int *     /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
491 70: |-
492   CL_API_ENTRY cl_int CL_API_CALL
493   clGetGLObjectInfo(cl_mem                /* memobj */,
494                     cl_gl_object_type *   /* gl_object_type */,
495                     cl_GLuint *              /* gl_object_name */) CL_API_SUFFIX__VERSION_1_0;
496 71: |-
497   CL_API_ENTRY cl_int CL_API_CALL
498   clGetGLTextureInfo(cl_mem               /* memobj */,
499                      cl_gl_texture_info   /* param_name */,
500                      size_t               /* param_value_size */,
501                      void *               /* param_value */,
502                      size_t *             /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
503 72: |-
504   CL_API_ENTRY cl_int CL_API_CALL
505   clEnqueueAcquireGLObjects(cl_command_queue      /* command_queue */,
506                             cl_uint               /* num_objects */,
507                             const cl_mem *        /* mem_objects */,
508                             cl_uint               /* num_events_in_wait_list */,
509                             const cl_event *      /* event_wait_list */,
510                             cl_event *            /* event */) CL_API_SUFFIX__VERSION_1_0;
511 73: |-
512   CL_API_ENTRY cl_int CL_API_CALL
513   clEnqueueReleaseGLObjects(cl_command_queue      /* command_queue */,
514                             cl_uint               /* num_objects */,
515                             const cl_mem *        /* mem_objects */,
516                             cl_uint               /* num_events_in_wait_list */,
517                             const cl_event *      /* event_wait_list */,
518                             cl_event *            /* event */) CL_API_SUFFIX__VERSION_1_0;
519 81: |-
520   CL_API_ENTRY cl_int CL_API_CALL
521   clSetEventCallback( cl_event    /* event */,
522                       cl_int      /* command_exec_callback_type */,
523                       void (CL_CALLBACK * /* pfn_notify */)(cl_event, cl_int, void *),
524                       void *      /* user_data */) CL_API_SUFFIX__VERSION_1_1;
525 82: |-
526   CL_API_ENTRY cl_mem CL_API_CALL
527   clCreateSubBuffer(cl_mem                   /* buffer */,
528                     cl_mem_flags             /* flags */,
529                     cl_buffer_create_type    /* buffer_create_type */,
530                     const void *             /* buffer_create_info */,
531                     cl_int *                 /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
532 83: |-
533   CL_API_ENTRY cl_int CL_API_CALL
534   clSetMemObjectDestructorCallback(  cl_mem /* memobj */, 
535                                       void (CL_CALLBACK * /*pfn_notify*/)( cl_mem /* memobj */, void* /*user_data*/), 
536                                       void * /*user_data */ )             CL_API_SUFFIX__VERSION_1_1;
537 84: |-
538   CL_API_ENTRY cl_event CL_API_CALL
539   clCreateUserEvent(cl_context    /* context */,
540                     cl_int *      /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
541 85: |-
542   CL_API_ENTRY cl_int CL_API_CALL
543   clSetUserEventStatus(cl_event   /* event */,
544                        cl_int     /* execution_status */) CL_API_SUFFIX__VERSION_1_1;
545 86: |-
546   CL_API_ENTRY cl_int CL_API_CALL
547   clEnqueueReadBufferRect(cl_command_queue    /* command_queue */,
548                           cl_mem              /* buffer */,
549                           cl_bool             /* blocking_read */,
550                           const size_t *      /* buffer_origin */,
551                           const size_t *      /* host_origin */, 
552                           const size_t *      /* region */,
553                           size_t              /* buffer_row_pitch */,
554                           size_t              /* buffer_slice_pitch */,
555                           size_t              /* host_row_pitch */,
556                           size_t              /* host_slice_pitch */,                        
557                           void *              /* ptr */,
558                           cl_uint             /* num_events_in_wait_list */,
559                           const cl_event *    /* event_wait_list */,
560                           cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_1;
561 87: |-
562   CL_API_ENTRY cl_int CL_API_CALL
563   clEnqueueWriteBufferRect(cl_command_queue    /* command_queue */,
564                            cl_mem              /* buffer */,
565                            cl_bool             /* blocking_write */,
566                            const size_t *      /* buffer_origin */,
567                            const size_t *      /* host_origin */, 
568                            const size_t *      /* region */,
569                            size_t              /* buffer_row_pitch */,
570                            size_t              /* buffer_slice_pitch */,
571                            size_t              /* host_row_pitch */,
572                            size_t              /* host_slice_pitch */,                        
573                            const void *        /* ptr */,
574                            cl_uint             /* num_events_in_wait_list */,
575                            const cl_event *    /* event_wait_list */,
576                            cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_1;
577 88: |-
578   CL_API_ENTRY cl_int CL_API_CALL
579   clEnqueueCopyBufferRect(cl_command_queue    /* command_queue */, 
580                           cl_mem              /* src_buffer */,
581                           cl_mem              /* dst_buffer */, 
582                           const size_t *      /* src_origin */,
583                           const size_t *      /* dst_origin */,
584                           const size_t *      /* region */, 
585                           size_t              /* src_row_pitch */,
586                           size_t              /* src_slice_pitch */,
587                           size_t              /* dst_row_pitch */,
588                           size_t              /* dst_slice_pitch */,
589                           cl_uint             /* num_events_in_wait_list */,
590                           const cl_event *    /* event_wait_list */,
591                           cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_1;
592 89: |-
593   CL_API_ENTRY cl_int CL_API_CALL
594       clCreateSubDevicesEXT(  cl_device_id /*in_device*/,
595                               const cl_device_partition_property_ext * /* properties */,
596                               cl_uint /*num_entries*/,
597                               cl_device_id * /*out_devices*/,
598                               cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;
599 90: |-
600   CL_API_ENTRY cl_int CL_API_CALL
601       clRetainDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
602 91: |-
603   CL_API_ENTRY cl_int CL_API_CALL
604       clReleaseDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
605 93: |-
606   CL_API_ENTRY cl_int CL_API_CALL
607   clCreateSubDevices(cl_device_id                         /* in_device */,
608                      const cl_device_partition_property * /* properties */,
609                      cl_uint                              /* num_devices */,
610                      cl_device_id *                       /* out_devices */,
611                      cl_uint *                            /* num_devices_ret */) CL_API_SUFFIX__VERSION_1_2;
612 94: |-
613   CL_API_ENTRY cl_int CL_API_CALL
614   clRetainDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
615 95: |-
616   CL_API_ENTRY cl_int CL_API_CALL
617   clReleaseDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
618 96: |-
619   CL_API_ENTRY cl_mem CL_API_CALL
620   clCreateImage(cl_context              /* context */,
621                 cl_mem_flags            /* flags */,
622                 const cl_image_format * /* image_format */,
623                 const cl_image_desc *   /* image_desc */, 
624                 void *                  /* host_ptr */,
625                 cl_int *                /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
626 97: |-
627   CL_API_ENTRY cl_program CL_API_CALL
628   clCreateProgramWithBuiltInKernels(cl_context            /* context */,
629                                     cl_uint               /* num_devices */,
630                                     const cl_device_id *  /* device_list */,
631                                     const char *          /* kernel_names */,
632                                     cl_int *              /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
633 98: |-
634   CL_API_ENTRY cl_int CL_API_CALL
635   clCompileProgram(cl_program           /* program */,
636                    cl_uint              /* num_devices */,
637                    const cl_device_id * /* device_list */,
638                    const char *         /* options */, 
639                    cl_uint              /* num_input_headers */,
640                    const cl_program *   /* input_headers */,
641                    const char **        /* header_include_names */,
642                    void (CL_CALLBACK *  /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
643                    void *               /* user_data */) CL_API_SUFFIX__VERSION_1_2;
644 99: |-
645   CL_API_ENTRY cl_program CL_API_CALL
646   clLinkProgram(cl_context           /* context */,
647                 cl_uint              /* num_devices */,
648                 const cl_device_id * /* device_list */,
649                 const char *         /* options */, 
650                 cl_uint              /* num_input_programs */,
651                 const cl_program *   /* input_programs */,
652                 void (CL_CALLBACK *  /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
653                 void *               /* user_data */,
654                 cl_int *             /* errcode_ret */ ) CL_API_SUFFIX__VERSION_1_2;
655 100: |-
656   CL_API_ENTRY cl_int CL_API_CALL
657   clUnloadPlatformCompiler(cl_platform_id /* platform */) CL_API_SUFFIX__VERSION_1_2;
658 101: |-
659   CL_API_ENTRY cl_int CL_API_CALL
660   clGetKernelArgInfo(cl_kernel       /* kernel */,
661                      cl_uint         /* arg_indx */,
662                      cl_kernel_arg_info  /* param_name */,
663                      size_t          /* param_value_size */,
664                      void *          /* param_value */,
665                      size_t *        /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_2;
666 102: |-
667   CL_API_ENTRY cl_int CL_API_CALL
668   clEnqueueFillBuffer(cl_command_queue   /* command_queue */,
669                       cl_mem             /* buffer */, 
670                       const void *       /* pattern */, 
671                       size_t             /* pattern_size */, 
672                       size_t             /* offset */, 
673                       size_t             /* size */, 
674                       cl_uint            /* num_events_in_wait_list */, 
675                       const cl_event *   /* event_wait_list */, 
676                       cl_event *         /* event */) CL_API_SUFFIX__VERSION_1_2;
677 103: |-
678   CL_API_ENTRY cl_int CL_API_CALL
679   clEnqueueFillImage(cl_command_queue   /* command_queue */,
680                      cl_mem             /* image */, 
681                      const void *       /* fill_color */, 
682                      const size_t *     /* origin[3] */, 
683                      const size_t *     /* region[3] */, 
684                      cl_uint            /* num_events_in_wait_list */, 
685                      const cl_event *   /* event_wait_list */, 
686                      cl_event *         /* event */) CL_API_SUFFIX__VERSION_1_2;
687 104: |-
688   CL_API_ENTRY cl_int CL_API_CALL
689   clEnqueueMigrateMemObjects(cl_command_queue       /* command_queue */,
690                              cl_uint                /* num_mem_objects */,
691                              const cl_mem *         /* mem_objects */,
692                              cl_mem_migration_flags /* flags */,
693                              cl_uint                /* num_events_in_wait_list */,
694                              const cl_event *       /* event_wait_list */,
695                              cl_event *             /* event */) CL_API_SUFFIX__VERSION_1_2;
696 105: |-
697   CL_API_ENTRY cl_int CL_API_CALL
698   clEnqueueMarkerWithWaitList(cl_command_queue /* command_queue */,
699                               cl_uint           /* num_events_in_wait_list */,
700                               const cl_event *  /* event_wait_list */,
701                               cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_2;
702 106: |-
703   CL_API_ENTRY cl_int CL_API_CALL
704   clEnqueueBarrierWithWaitList(cl_command_queue /* command_queue */,
705                                cl_uint           /* num_events_in_wait_list */,
706                                const cl_event *  /* event_wait_list */,
707                                cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_2;
708 107: |-
709   CL_API_ENTRY void * CL_API_CALL 
710   clGetExtensionFunctionAddressForPlatform(cl_platform_id /* platform */,
711                                            const char *   /* func_name */) CL_API_SUFFIX__VERSION_1_2;
712 108: |-
713   CL_API_ENTRY cl_mem CL_API_CALL
714   clCreateFromGLTexture(cl_context      /* context */,
715                         cl_mem_flags    /* flags */,
716                         cl_GLenum       /* target */,
717                         cl_GLint        /* miplevel */,
718                         cl_GLuint       /* texture */,
719                         cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;