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