Added clUnloadCompiler at its most propable place in the table :
[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 31: |-
214   CL_API_ENTRY cl_int CL_API_CALL
215   clUnloadCompiler( void ) CL_API_SUFFIX__VERSION_1_0;
216 32: |-
217   CL_API_ENTRY cl_int CL_API_CALL
218   clGetProgramInfo(cl_program         /* program */,
219                    cl_program_info    /* param_name */,
220                    size_t             /* param_value_size */,
221                    void *             /* param_value */,
222                    size_t *           /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
223 33: |-
224   CL_API_ENTRY cl_int CL_API_CALL
225   clGetProgramBuildInfo(cl_program            /* program */,
226                         cl_device_id          /* device */,
227                         cl_program_build_info /* param_name */,
228                         size_t                /* param_value_size */,
229                         void *                /* param_value */,
230                         size_t *              /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
231 34: |-
232   CL_API_ENTRY cl_kernel CL_API_CALL
233   clCreateKernel(cl_program      /* program */,
234                  const char *    /* kernel_name */,
235                  cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
236 35: |-
237   CL_API_ENTRY cl_int CL_API_CALL
238   clCreateKernelsInProgram(cl_program     /* program */,
239                            cl_uint        /* num_kernels */,
240                            cl_kernel *    /* kernels */,
241                            cl_uint *      /* num_kernels_ret */) CL_API_SUFFIX__VERSION_1_0;
242 36: |-
243   CL_API_ENTRY cl_int CL_API_CALL
244   clRetainKernel(cl_kernel    /* kernel */) CL_API_SUFFIX__VERSION_1_0;
245 37: |-
246   CL_API_ENTRY cl_int CL_API_CALL
247   clReleaseKernel(cl_kernel   /* kernel */) CL_API_SUFFIX__VERSION_1_0;
248 38: |-
249   CL_API_ENTRY cl_int CL_API_CALL
250   clSetKernelArg(cl_kernel    /* kernel */,
251                  cl_uint      /* arg_index */,
252                  size_t       /* arg_size */,
253                  const void * /* arg_value */) CL_API_SUFFIX__VERSION_1_0;
254 39: |-
255   CL_API_ENTRY cl_int CL_API_CALL
256   clGetKernelInfo(cl_kernel       /* kernel */,
257                   cl_kernel_info  /* param_name */,
258                   size_t          /* param_value_size */,
259                   void *          /* param_value */,
260                   size_t *        /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
261 40: |-
262   CL_API_ENTRY cl_int CL_API_CALL
263   clGetKernelWorkGroupInfo(cl_kernel                  /* kernel */,
264                            cl_device_id               /* device */,
265                            cl_kernel_work_group_info  /* param_name */,
266                            size_t                     /* param_value_size */,
267                            void *                     /* param_value */,
268                            size_t *                   /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
269 41: |-
270   CL_API_ENTRY cl_int CL_API_CALL
271   clWaitForEvents(cl_uint             /* num_events */,
272                   const cl_event *    /* event_list */) CL_API_SUFFIX__VERSION_1_0;
273 42: |-
274   CL_API_ENTRY cl_int CL_API_CALL
275   clGetEventInfo(cl_event         /* event */,
276                  cl_event_info    /* param_name */,
277                  size_t           /* param_value_size */,
278                  void *           /* param_value */,
279                  size_t *         /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
280 43: |-
281   CL_API_ENTRY cl_int CL_API_CALL
282   clRetainEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
283 44: |-
284   CL_API_ENTRY cl_int CL_API_CALL
285   clReleaseEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
286 45: |-
287   CL_API_ENTRY cl_int CL_API_CALL
288   clGetEventProfilingInfo(cl_event            /* event */,
289                           cl_profiling_info   /* param_name */,
290                           size_t              /* param_value_size */,
291                           void *              /* param_value */,
292                           size_t *            /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
293 46: |-
294   CL_API_ENTRY cl_int CL_API_CALL
295   clFlush(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
296 47: |-
297   CL_API_ENTRY cl_int CL_API_CALL
298   clFinish(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
299 48: |-
300   CL_API_ENTRY cl_int CL_API_CALL
301   clEnqueueReadBuffer(cl_command_queue    /* command_queue */,
302                       cl_mem              /* buffer */,
303                       cl_bool             /* blocking_read */,
304                       size_t              /* offset */,
305                       size_t              /* cb */, 
306                       void *              /* ptr */,
307                       cl_uint             /* num_events_in_wait_list */,
308                       const cl_event *    /* event_wait_list */,
309                       cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
310 49: |-
311   CL_API_ENTRY cl_int CL_API_CALL
312   clEnqueueWriteBuffer(cl_command_queue   /* command_queue */, 
313                        cl_mem             /* buffer */, 
314                        cl_bool            /* blocking_write */, 
315                        size_t             /* offset */, 
316                        size_t             /* cb */, 
317                        const void *       /* ptr */, 
318                        cl_uint            /* num_events_in_wait_list */, 
319                        const cl_event *   /* event_wait_list */, 
320                        cl_event *         /* event */) CL_API_SUFFIX__VERSION_1_0;
321 50: |-
322   CL_API_ENTRY cl_int CL_API_CALL
323   clEnqueueCopyBuffer(cl_command_queue    /* command_queue */, 
324                       cl_mem              /* src_buffer */,
325                       cl_mem              /* dst_buffer */, 
326                       size_t              /* src_offset */,
327                       size_t              /* dst_offset */,
328                       size_t              /* cb */, 
329                       cl_uint             /* num_events_in_wait_list */,
330                       const cl_event *    /* event_wait_list */,
331                       cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
332 51: |-
333   CL_API_ENTRY cl_int CL_API_CALL
334   clEnqueueReadImage(cl_command_queue     /* command_queue */,
335                      cl_mem               /* image */,
336                      cl_bool              /* blocking_read */, 
337                      const size_t *       /* origin[3] */,
338                      const size_t *       /* region[3] */,
339                      size_t               /* row_pitch */,
340                      size_t               /* slice_pitch */, 
341                      void *               /* ptr */,
342                      cl_uint              /* num_events_in_wait_list */,
343                      const cl_event *     /* event_wait_list */,
344                      cl_event *           /* event */) CL_API_SUFFIX__VERSION_1_0;
345 52: |-
346   CL_API_ENTRY cl_int CL_API_CALL
347   clEnqueueWriteImage(cl_command_queue    /* command_queue */,
348                       cl_mem              /* image */,
349                       cl_bool             /* blocking_write */, 
350                       const size_t *      /* origin[3] */,
351                       const size_t *      /* region[3] */,
352                       size_t              /* input_row_pitch */,
353                       size_t              /* input_slice_pitch */, 
354                       const void *        /* ptr */,
355                       cl_uint             /* num_events_in_wait_list */,
356                       const cl_event *    /* event_wait_list */,
357                       cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
358 53: |-
359   CL_API_ENTRY cl_int CL_API_CALL
360   clEnqueueCopyImage(cl_command_queue     /* command_queue */,
361                      cl_mem               /* src_image */,
362                      cl_mem               /* dst_image */, 
363                      const size_t *       /* src_origin[3] */,
364                      const size_t *       /* dst_origin[3] */,
365                      const size_t *       /* region[3] */, 
366                      cl_uint              /* num_events_in_wait_list */,
367                      const cl_event *     /* event_wait_list */,
368                      cl_event *           /* event */) CL_API_SUFFIX__VERSION_1_0;
369 54: |-
370   CL_API_ENTRY cl_int CL_API_CALL
371   clEnqueueCopyImageToBuffer(cl_command_queue /* command_queue */,
372                              cl_mem           /* src_image */,
373                              cl_mem           /* dst_buffer */, 
374                              const size_t *   /* src_origin[3] */,
375                              const size_t *   /* region[3] */, 
376                              size_t           /* dst_offset */,
377                              cl_uint          /* num_events_in_wait_list */,
378                              const cl_event * /* event_wait_list */,
379                              cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_0;
380 55: |-
381   CL_API_ENTRY cl_int CL_API_CALL
382   clEnqueueCopyBufferToImage(cl_command_queue /* command_queue */,
383                              cl_mem           /* src_buffer */,
384                              cl_mem           /* dst_image */, 
385                              size_t           /* src_offset */,
386                              const size_t *   /* dst_origin[3] */,
387                              const size_t *   /* region[3] */, 
388                              cl_uint          /* num_events_in_wait_list */,
389                              const cl_event * /* event_wait_list */,
390                              cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_0;
391 56: |-
392   CL_API_ENTRY void * CL_API_CALL
393   clEnqueueMapBuffer(cl_command_queue /* command_queue */,
394                      cl_mem           /* buffer */,
395                      cl_bool          /* blocking_map */, 
396                      cl_map_flags     /* map_flags */,
397                      size_t           /* offset */,
398                      size_t           /* cb */,
399                      cl_uint          /* num_events_in_wait_list */,
400                      const cl_event * /* event_wait_list */,
401                      cl_event *       /* event */,
402                      cl_int *         /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
403 57: |-
404   CL_API_ENTRY void * CL_API_CALL
405   clEnqueueMapImage(cl_command_queue  /* command_queue */,
406                     cl_mem            /* image */, 
407                     cl_bool           /* blocking_map */, 
408                     cl_map_flags      /* map_flags */, 
409                     const size_t *    /* origin[3] */,
410                     const size_t *    /* region[3] */,
411                     size_t *          /* image_row_pitch */,
412                     size_t *          /* image_slice_pitch */,
413                     cl_uint           /* num_events_in_wait_list */,
414                     const cl_event *  /* event_wait_list */,
415                     cl_event *        /* event */,
416                     cl_int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
417 58: |-
418   CL_API_ENTRY cl_int CL_API_CALL
419   clEnqueueUnmapMemObject(cl_command_queue /* command_queue */,
420                           cl_mem           /* memobj */,
421                           void *           /* mapped_ptr */,
422                           cl_uint          /* num_events_in_wait_list */,
423                           const cl_event *  /* event_wait_list */,
424                           cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_0;
425 59: |-
426   CL_API_ENTRY cl_int CL_API_CALL
427   clEnqueueNDRangeKernel(cl_command_queue /* command_queue */,
428                          cl_kernel        /* kernel */,
429                          cl_uint          /* work_dim */,
430                          const size_t *   /* global_work_offset */,
431                          const size_t *   /* global_work_size */,
432                          const size_t *   /* local_work_size */,
433                          cl_uint          /* num_events_in_wait_list */,
434                          const cl_event * /* event_wait_list */,
435                          cl_event *       /* event */) CL_API_SUFFIX__VERSION_1_0;
436 60: |-
437   CL_API_ENTRY cl_int CL_API_CALL
438   clEnqueueTask(cl_command_queue  /* command_queue */,
439                 cl_kernel         /* kernel */,
440                 cl_uint           /* num_events_in_wait_list */,
441                 const cl_event *  /* event_wait_list */,
442                 cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_0;
443 61: |-
444   CL_API_ENTRY cl_int CL_API_CALL
445   clEnqueueNativeKernel(cl_command_queue  /* command_queue */,
446                                           void (*user_func)(void *), 
447                         void *            /* args */,
448                         size_t            /* cb_args */, 
449                         cl_uint           /* num_mem_objects */,
450                         const cl_mem *    /* mem_list */,
451                         const void **     /* args_mem_loc */,
452                         cl_uint           /* num_events_in_wait_list */,
453                         const cl_event *  /* event_wait_list */,
454                         cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_0;
455 62: |-
456   CL_API_ENTRY cl_int CL_API_CALL
457   clEnqueueMarker(cl_command_queue    /* command_queue */,
458                   cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_0;
459 63: |-
460   CL_API_ENTRY cl_int CL_API_CALL
461   clEnqueueWaitForEvents(cl_command_queue /* command_queue */,
462                          cl_uint          /* num_events */,
463                          const cl_event * /* event_list */) CL_API_SUFFIX__VERSION_1_0;
464 64: |-
465   CL_API_ENTRY cl_int CL_API_CALL
466   clEnqueueBarrier(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
467 66: |-
468   CL_API_ENTRY cl_mem CL_API_CALL
469   clCreateFromGLBuffer(cl_context     /* context */,
470                        cl_mem_flags   /* flags */,
471                        cl_GLuint      /* bufobj */,
472                        int *          /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
473 67: |-
474   CL_API_ENTRY cl_mem CL_API_CALL
475   clCreateFromGLTexture2D(cl_context      /* context */,
476                           cl_mem_flags    /* flags */,
477                           cl_GLenum       /* target */,
478                           cl_GLint        /* miplevel */,
479                           cl_GLuint       /* texture */,
480                           cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
481 68: |-
482   CL_API_ENTRY cl_mem CL_API_CALL
483   clCreateFromGLTexture3D(cl_context      /* context */,
484                           cl_mem_flags    /* flags */,
485                           cl_GLenum       /* target */,
486                           cl_GLint        /* miplevel */,
487                           cl_GLuint       /* texture */,
488                           cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
489 69: |-
490   CL_API_ENTRY cl_mem CL_API_CALL
491   clCreateFromGLRenderbuffer(cl_context   /* context */,
492                              cl_mem_flags /* flags */,
493                              cl_GLuint    /* renderbuffer */,
494                              cl_int *     /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
495 70: |-
496   CL_API_ENTRY cl_int CL_API_CALL
497   clGetGLObjectInfo(cl_mem                /* memobj */,
498                     cl_gl_object_type *   /* gl_object_type */,
499                     cl_GLuint *              /* gl_object_name */) CL_API_SUFFIX__VERSION_1_0;
500 71: |-
501   CL_API_ENTRY cl_int CL_API_CALL
502   clGetGLTextureInfo(cl_mem               /* memobj */,
503                      cl_gl_texture_info   /* param_name */,
504                      size_t               /* param_value_size */,
505                      void *               /* param_value */,
506                      size_t *             /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
507 72: |-
508   CL_API_ENTRY cl_int CL_API_CALL
509   clEnqueueAcquireGLObjects(cl_command_queue      /* command_queue */,
510                             cl_uint               /* num_objects */,
511                             const cl_mem *        /* mem_objects */,
512                             cl_uint               /* num_events_in_wait_list */,
513                             const cl_event *      /* event_wait_list */,
514                             cl_event *            /* event */) CL_API_SUFFIX__VERSION_1_0;
515 73: |-
516   CL_API_ENTRY cl_int CL_API_CALL
517   clEnqueueReleaseGLObjects(cl_command_queue      /* command_queue */,
518                             cl_uint               /* num_objects */,
519                             const cl_mem *        /* mem_objects */,
520                             cl_uint               /* num_events_in_wait_list */,
521                             const cl_event *      /* event_wait_list */,
522                             cl_event *            /* event */) CL_API_SUFFIX__VERSION_1_0;
523 81: |-
524   CL_API_ENTRY cl_int CL_API_CALL
525   clSetEventCallback( cl_event    /* event */,
526                       cl_int      /* command_exec_callback_type */,
527                       void (CL_CALLBACK * /* pfn_notify */)(cl_event, cl_int, void *),
528                       void *      /* user_data */) CL_API_SUFFIX__VERSION_1_1;
529 82: |-
530   CL_API_ENTRY cl_mem CL_API_CALL
531   clCreateSubBuffer(cl_mem                   /* buffer */,
532                     cl_mem_flags             /* flags */,
533                     cl_buffer_create_type    /* buffer_create_type */,
534                     const void *             /* buffer_create_info */,
535                     cl_int *                 /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
536 83: |-
537   CL_API_ENTRY cl_int CL_API_CALL
538   clSetMemObjectDestructorCallback(  cl_mem /* memobj */, 
539                                       void (CL_CALLBACK * /*pfn_notify*/)( cl_mem /* memobj */, void* /*user_data*/), 
540                                       void * /*user_data */ )             CL_API_SUFFIX__VERSION_1_1;
541 84: |-
542   CL_API_ENTRY cl_event CL_API_CALL
543   clCreateUserEvent(cl_context    /* context */,
544                     cl_int *      /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
545 85: |-
546   CL_API_ENTRY cl_int CL_API_CALL
547   clSetUserEventStatus(cl_event   /* event */,
548                        cl_int     /* execution_status */) CL_API_SUFFIX__VERSION_1_1;
549 86: |-
550   CL_API_ENTRY cl_int CL_API_CALL
551   clEnqueueReadBufferRect(cl_command_queue    /* command_queue */,
552                           cl_mem              /* buffer */,
553                           cl_bool             /* blocking_read */,
554                           const size_t *      /* buffer_origin */,
555                           const size_t *      /* host_origin */, 
556                           const size_t *      /* region */,
557                           size_t              /* buffer_row_pitch */,
558                           size_t              /* buffer_slice_pitch */,
559                           size_t              /* host_row_pitch */,
560                           size_t              /* host_slice_pitch */,                        
561                           void *              /* ptr */,
562                           cl_uint             /* num_events_in_wait_list */,
563                           const cl_event *    /* event_wait_list */,
564                           cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_1;
565 87: |-
566   CL_API_ENTRY cl_int CL_API_CALL
567   clEnqueueWriteBufferRect(cl_command_queue    /* command_queue */,
568                            cl_mem              /* buffer */,
569                            cl_bool             /* blocking_write */,
570                            const size_t *      /* buffer_origin */,
571                            const size_t *      /* host_origin */, 
572                            const size_t *      /* region */,
573                            size_t              /* buffer_row_pitch */,
574                            size_t              /* buffer_slice_pitch */,
575                            size_t              /* host_row_pitch */,
576                            size_t              /* host_slice_pitch */,                        
577                            const void *        /* ptr */,
578                            cl_uint             /* num_events_in_wait_list */,
579                            const cl_event *    /* event_wait_list */,
580                            cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_1;
581 88: |-
582   CL_API_ENTRY cl_int CL_API_CALL
583   clEnqueueCopyBufferRect(cl_command_queue    /* command_queue */, 
584                           cl_mem              /* src_buffer */,
585                           cl_mem              /* dst_buffer */, 
586                           const size_t *      /* src_origin */,
587                           const size_t *      /* dst_origin */,
588                           const size_t *      /* region */, 
589                           size_t              /* src_row_pitch */,
590                           size_t              /* src_slice_pitch */,
591                           size_t              /* dst_row_pitch */,
592                           size_t              /* dst_slice_pitch */,
593                           cl_uint             /* num_events_in_wait_list */,
594                           const cl_event *    /* event_wait_list */,
595                           cl_event *          /* event */) CL_API_SUFFIX__VERSION_1_1;
596 89: |-
597   CL_API_ENTRY cl_int CL_API_CALL
598       clCreateSubDevicesEXT(  cl_device_id /*in_device*/,
599                               const cl_device_partition_property_ext * /* properties */,
600                               cl_uint /*num_entries*/,
601                               cl_device_id * /*out_devices*/,
602                               cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;
603 90: |-
604   CL_API_ENTRY cl_int CL_API_CALL
605       clRetainDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
606 91: |-
607   CL_API_ENTRY cl_int CL_API_CALL
608       clReleaseDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
609 93: |-
610   CL_API_ENTRY cl_int CL_API_CALL
611   clCreateSubDevices(cl_device_id                         /* in_device */,
612                      const cl_device_partition_property * /* properties */,
613                      cl_uint                              /* num_devices */,
614                      cl_device_id *                       /* out_devices */,
615                      cl_uint *                            /* num_devices_ret */) CL_API_SUFFIX__VERSION_1_2;
616 94: |-
617   CL_API_ENTRY cl_int CL_API_CALL
618   clRetainDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
619 95: |-
620   CL_API_ENTRY cl_int CL_API_CALL
621   clReleaseDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
622 96: |-
623   CL_API_ENTRY cl_mem CL_API_CALL
624   clCreateImage(cl_context              /* context */,
625                 cl_mem_flags            /* flags */,
626                 const cl_image_format * /* image_format */,
627                 const cl_image_desc *   /* image_desc */, 
628                 void *                  /* host_ptr */,
629                 cl_int *                /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
630 97: |-
631   CL_API_ENTRY cl_program CL_API_CALL
632   clCreateProgramWithBuiltInKernels(cl_context            /* context */,
633                                     cl_uint               /* num_devices */,
634                                     const cl_device_id *  /* device_list */,
635                                     const char *          /* kernel_names */,
636                                     cl_int *              /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
637 98: |-
638   CL_API_ENTRY cl_int CL_API_CALL
639   clCompileProgram(cl_program           /* program */,
640                    cl_uint              /* num_devices */,
641                    const cl_device_id * /* device_list */,
642                    const char *         /* options */, 
643                    cl_uint              /* num_input_headers */,
644                    const cl_program *   /* input_headers */,
645                    const char **        /* header_include_names */,
646                    void (CL_CALLBACK *  /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
647                    void *               /* user_data */) CL_API_SUFFIX__VERSION_1_2;
648 99: |-
649   CL_API_ENTRY cl_program CL_API_CALL
650   clLinkProgram(cl_context           /* context */,
651                 cl_uint              /* num_devices */,
652                 const cl_device_id * /* device_list */,
653                 const char *         /* options */, 
654                 cl_uint              /* num_input_programs */,
655                 const cl_program *   /* input_programs */,
656                 void (CL_CALLBACK *  /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
657                 void *               /* user_data */,
658                 cl_int *             /* errcode_ret */ ) CL_API_SUFFIX__VERSION_1_2;
659 100: |-
660   CL_API_ENTRY cl_int CL_API_CALL
661   clUnloadPlatformCompiler(cl_platform_id /* platform */) CL_API_SUFFIX__VERSION_1_2;
662 101: |-
663   CL_API_ENTRY cl_int CL_API_CALL
664   clGetKernelArgInfo(cl_kernel       /* kernel */,
665                      cl_uint         /* arg_indx */,
666                      cl_kernel_arg_info  /* param_name */,
667                      size_t          /* param_value_size */,
668                      void *          /* param_value */,
669                      size_t *        /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_2;
670 102: |-
671   CL_API_ENTRY cl_int CL_API_CALL
672   clEnqueueFillBuffer(cl_command_queue   /* command_queue */,
673                       cl_mem             /* buffer */, 
674                       const void *       /* pattern */, 
675                       size_t             /* pattern_size */, 
676                       size_t             /* offset */, 
677                       size_t             /* size */, 
678                       cl_uint            /* num_events_in_wait_list */, 
679                       const cl_event *   /* event_wait_list */, 
680                       cl_event *         /* event */) CL_API_SUFFIX__VERSION_1_2;
681 103: |-
682   CL_API_ENTRY cl_int CL_API_CALL
683   clEnqueueFillImage(cl_command_queue   /* command_queue */,
684                      cl_mem             /* image */, 
685                      const void *       /* fill_color */, 
686                      const size_t *     /* origin[3] */, 
687                      const size_t *     /* region[3] */, 
688                      cl_uint            /* num_events_in_wait_list */, 
689                      const cl_event *   /* event_wait_list */, 
690                      cl_event *         /* event */) CL_API_SUFFIX__VERSION_1_2;
691 104: |-
692   CL_API_ENTRY cl_int CL_API_CALL
693   clEnqueueMigrateMemObjects(cl_command_queue       /* command_queue */,
694                              cl_uint                /* num_mem_objects */,
695                              const cl_mem *         /* mem_objects */,
696                              cl_mem_migration_flags /* flags */,
697                              cl_uint                /* num_events_in_wait_list */,
698                              const cl_event *       /* event_wait_list */,
699                              cl_event *             /* event */) CL_API_SUFFIX__VERSION_1_2;
700 105: |-
701   CL_API_ENTRY cl_int CL_API_CALL
702   clEnqueueMarkerWithWaitList(cl_command_queue /* command_queue */,
703                               cl_uint           /* num_events_in_wait_list */,
704                               const cl_event *  /* event_wait_list */,
705                               cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_2;
706 106: |-
707   CL_API_ENTRY cl_int CL_API_CALL
708   clEnqueueBarrierWithWaitList(cl_command_queue /* command_queue */,
709                                cl_uint           /* num_events_in_wait_list */,
710                                const cl_event *  /* event_wait_list */,
711                                cl_event *        /* event */) CL_API_SUFFIX__VERSION_1_2;
712 107: |-
713   CL_API_ENTRY void * CL_API_CALL 
714   clGetExtensionFunctionAddressForPlatform(cl_platform_id /* platform */,
715                                            const char *   /* func_name */) CL_API_SUFFIX__VERSION_1_2;
716 108: |-
717   CL_API_ENTRY cl_mem CL_API_CALL
718   clCreateFromGLTexture(cl_context      /* context */,
719                         cl_mem_flags    /* flags */,
720                         cl_GLenum       /* target */,
721                         cl_GLint        /* miplevel */,
722                         cl_GLuint       /* texture */,
723                         cl_int *        /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;