1 # Copyright (c) 2012, Brice Videau <brice.videau@imag.fr>
2 # Copyright (c) 2012, Vincent Danjean <Vincent.Danjean@ens-lyon.org>
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met:
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.
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.
25 # Do not edit this file. It is automatically generated.
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;
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;
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;
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;
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;
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;
69 CL_API_ENTRY cl_int CL_API_CALL
70 clRetainContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;
72 CL_API_ENTRY cl_int CL_API_CALL
73 clReleaseContext(cl_context /* context */) CL_API_SUFFIX__VERSION_1_0;
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;
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;
88 CL_API_ENTRY cl_int CL_API_CALL
89 clRetainCommandQueue(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
91 CL_API_ENTRY cl_int CL_API_CALL
92 clReleaseCommandQueue(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
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;
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;
107 CL_API_ENTRY cl_mem CL_API_CALL
108 clCreateBuffer(cl_context /* context */,
109 cl_mem_flags /* flags */,
111 void * /* host_ptr */,
112 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
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;
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;
136 CL_API_ENTRY cl_int CL_API_CALL
137 clRetainMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
139 CL_API_ENTRY cl_int CL_API_CALL
140 clReleaseMemObject(cl_mem /* memobj */) CL_API_SUFFIX__VERSION_1_0;
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;
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;
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;
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;
171 CL_API_ENTRY cl_int CL_API_CALL
172 clRetainSampler(cl_sampler /* sampler */) CL_API_SUFFIX__VERSION_1_0;
174 CL_API_ENTRY cl_int CL_API_CALL
175 clReleaseSampler(cl_sampler /* sampler */) CL_API_SUFFIX__VERSION_1_0;
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;
184 CL_API_ENTRY cl_program CL_API_CALL
185 clCreateProgramWithSource(cl_context /* context */,
187 const char ** /* strings */,
188 const size_t * /* lengths */,
189 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
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;
200 CL_API_ENTRY cl_int CL_API_CALL
201 clRetainProgram(cl_program /* program */) CL_API_SUFFIX__VERSION_1_0;
203 CL_API_ENTRY cl_int CL_API_CALL
204 clReleaseProgram(cl_program /* program */) CL_API_SUFFIX__VERSION_1_0;
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;
214 CL_API_ENTRY cl_int CL_API_CALL
215 clUnloadCompiler( void ) CL_API_SUFFIX__VERSION_1_0;
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;
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;
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;
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;
243 CL_API_ENTRY cl_int CL_API_CALL
244 clRetainKernel(cl_kernel /* kernel */) CL_API_SUFFIX__VERSION_1_0;
246 CL_API_ENTRY cl_int CL_API_CALL
247 clReleaseKernel(cl_kernel /* kernel */) CL_API_SUFFIX__VERSION_1_0;
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;
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;
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;
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;
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;
281 CL_API_ENTRY cl_int CL_API_CALL
282 clRetainEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
284 CL_API_ENTRY cl_int CL_API_CALL
285 clReleaseEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
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;
294 CL_API_ENTRY cl_int CL_API_CALL
295 clFlush(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
297 CL_API_ENTRY cl_int CL_API_CALL
298 clFinish(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
300 CL_API_ENTRY cl_int CL_API_CALL
301 clEnqueueReadBuffer(cl_command_queue /* command_queue */,
303 cl_bool /* blocking_read */,
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;
311 CL_API_ENTRY cl_int CL_API_CALL
312 clEnqueueWriteBuffer(cl_command_queue /* command_queue */,
314 cl_bool /* blocking_write */,
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;
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 */,
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;
333 CL_API_ENTRY cl_int CL_API_CALL
334 clEnqueueReadImage(cl_command_queue /* command_queue */,
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 */,
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;
346 CL_API_ENTRY cl_int CL_API_CALL
347 clEnqueueWriteImage(cl_command_queue /* command_queue */,
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;
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;
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;
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;
392 CL_API_ENTRY void * CL_API_CALL
393 clEnqueueMapBuffer(cl_command_queue /* command_queue */,
395 cl_bool /* blocking_map */,
396 cl_map_flags /* map_flags */,
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;
404 CL_API_ENTRY void * CL_API_CALL
405 clEnqueueMapImage(cl_command_queue /* command_queue */,
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;
418 CL_API_ENTRY cl_int CL_API_CALL
419 clEnqueueUnmapMemObject(cl_command_queue /* command_queue */,
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;
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;
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;
444 CL_API_ENTRY cl_int CL_API_CALL
445 clEnqueueNativeKernel(cl_command_queue /* command_queue */,
446 void (*user_func)(void *),
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;
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;
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;
465 CL_API_ENTRY cl_int CL_API_CALL
466 clEnqueueBarrier(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
550 CL_API_ENTRY cl_int CL_API_CALL
551 clEnqueueReadBufferRect(cl_command_queue /* command_queue */,
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 */,
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;
566 CL_API_ENTRY cl_int CL_API_CALL
567 clEnqueueWriteBufferRect(cl_command_queue /* command_queue */,
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;
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;
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;
604 CL_API_ENTRY cl_int CL_API_CALL
605 clRetainDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
607 CL_API_ENTRY cl_int CL_API_CALL
608 clReleaseDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
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;
617 CL_API_ENTRY cl_int CL_API_CALL
618 clRetainDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
620 CL_API_ENTRY cl_int CL_API_CALL
621 clReleaseDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
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;
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;
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;
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;
660 CL_API_ENTRY cl_int CL_API_CALL
661 clUnloadPlatformCompiler(cl_platform_id /* platform */) CL_API_SUFFIX__VERSION_1_2;
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;
671 CL_API_ENTRY cl_int CL_API_CALL
672 clEnqueueFillBuffer(cl_command_queue /* command_queue */,
674 const void * /* pattern */,
675 size_t /* pattern_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;
682 CL_API_ENTRY cl_int CL_API_CALL
683 clEnqueueFillImage(cl_command_queue /* command_queue */,
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;
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;
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;
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;
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;
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;