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