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 void * CL_API_CALL
469 clGetExtensionFunctionAddress(const char * /* func_name */) CL_API_SUFFIX__VERSION_1_0;
471 CL_API_ENTRY cl_mem CL_API_CALL
472 clCreateFromGLBuffer(cl_context /* context */,
473 cl_mem_flags /* flags */,
474 cl_GLuint /* bufobj */,
475 int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
477 CL_API_ENTRY cl_mem CL_API_CALL
478 clCreateFromGLTexture2D(cl_context /* context */,
479 cl_mem_flags /* flags */,
480 cl_GLenum /* target */,
481 cl_GLint /* miplevel */,
482 cl_GLuint /* texture */,
483 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
485 CL_API_ENTRY cl_mem CL_API_CALL
486 clCreateFromGLTexture3D(cl_context /* context */,
487 cl_mem_flags /* flags */,
488 cl_GLenum /* target */,
489 cl_GLint /* miplevel */,
490 cl_GLuint /* texture */,
491 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
493 CL_API_ENTRY cl_mem CL_API_CALL
494 clCreateFromGLRenderbuffer(cl_context /* context */,
495 cl_mem_flags /* flags */,
496 cl_GLuint /* renderbuffer */,
497 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
499 CL_API_ENTRY cl_int CL_API_CALL
500 clGetGLObjectInfo(cl_mem /* memobj */,
501 cl_gl_object_type * /* gl_object_type */,
502 cl_GLuint * /* gl_object_name */) CL_API_SUFFIX__VERSION_1_0;
504 CL_API_ENTRY cl_int CL_API_CALL
505 clGetGLTextureInfo(cl_mem /* memobj */,
506 cl_gl_texture_info /* param_name */,
507 size_t /* param_value_size */,
508 void * /* param_value */,
509 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
511 CL_API_ENTRY cl_int CL_API_CALL
512 clEnqueueAcquireGLObjects(cl_command_queue /* command_queue */,
513 cl_uint /* num_objects */,
514 const cl_mem * /* mem_objects */,
515 cl_uint /* num_events_in_wait_list */,
516 const cl_event * /* event_wait_list */,
517 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
519 CL_API_ENTRY cl_int CL_API_CALL
520 clEnqueueReleaseGLObjects(cl_command_queue /* command_queue */,
521 cl_uint /* num_objects */,
522 const cl_mem * /* mem_objects */,
523 cl_uint /* num_events_in_wait_list */,
524 const cl_event * /* event_wait_list */,
525 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
527 CL_API_ENTRY cl_int CL_API_CALL
528 clSetEventCallback( cl_event /* event */,
529 cl_int /* command_exec_callback_type */,
530 void (CL_CALLBACK * /* pfn_notify */)(cl_event, cl_int, void *),
531 void * /* user_data */) CL_API_SUFFIX__VERSION_1_1;
533 CL_API_ENTRY cl_mem CL_API_CALL
534 clCreateSubBuffer(cl_mem /* buffer */,
535 cl_mem_flags /* flags */,
536 cl_buffer_create_type /* buffer_create_type */,
537 const void * /* buffer_create_info */,
538 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
540 CL_API_ENTRY cl_int CL_API_CALL
541 clSetMemObjectDestructorCallback( cl_mem /* memobj */,
542 void (CL_CALLBACK * /*pfn_notify*/)( cl_mem /* memobj */, void* /*user_data*/),
543 void * /*user_data */ ) CL_API_SUFFIX__VERSION_1_1;
545 CL_API_ENTRY cl_event CL_API_CALL
546 clCreateUserEvent(cl_context /* context */,
547 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
549 CL_API_ENTRY cl_int CL_API_CALL
550 clSetUserEventStatus(cl_event /* event */,
551 cl_int /* execution_status */) CL_API_SUFFIX__VERSION_1_1;
553 CL_API_ENTRY cl_int CL_API_CALL
554 clEnqueueReadBufferRect(cl_command_queue /* command_queue */,
556 cl_bool /* blocking_read */,
557 const size_t * /* buffer_origin */,
558 const size_t * /* host_origin */,
559 const size_t * /* region */,
560 size_t /* buffer_row_pitch */,
561 size_t /* buffer_slice_pitch */,
562 size_t /* host_row_pitch */,
563 size_t /* host_slice_pitch */,
565 cl_uint /* num_events_in_wait_list */,
566 const cl_event * /* event_wait_list */,
567 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_1;
569 CL_API_ENTRY cl_int CL_API_CALL
570 clEnqueueWriteBufferRect(cl_command_queue /* command_queue */,
572 cl_bool /* blocking_write */,
573 const size_t * /* buffer_origin */,
574 const size_t * /* host_origin */,
575 const size_t * /* region */,
576 size_t /* buffer_row_pitch */,
577 size_t /* buffer_slice_pitch */,
578 size_t /* host_row_pitch */,
579 size_t /* host_slice_pitch */,
580 const void * /* ptr */,
581 cl_uint /* num_events_in_wait_list */,
582 const cl_event * /* event_wait_list */,
583 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_1;
585 CL_API_ENTRY cl_int CL_API_CALL
586 clEnqueueCopyBufferRect(cl_command_queue /* command_queue */,
587 cl_mem /* src_buffer */,
588 cl_mem /* dst_buffer */,
589 const size_t * /* src_origin */,
590 const size_t * /* dst_origin */,
591 const size_t * /* region */,
592 size_t /* src_row_pitch */,
593 size_t /* src_slice_pitch */,
594 size_t /* dst_row_pitch */,
595 size_t /* dst_slice_pitch */,
596 cl_uint /* num_events_in_wait_list */,
597 const cl_event * /* event_wait_list */,
598 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_1;
600 CL_API_ENTRY cl_int CL_API_CALL
601 clCreateSubDevicesEXT( cl_device_id /*in_device*/,
602 const cl_device_partition_property_ext * /* properties */,
603 cl_uint /*num_entries*/,
604 cl_device_id * /*out_devices*/,
605 cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;
607 CL_API_ENTRY cl_int CL_API_CALL
608 clRetainDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
610 CL_API_ENTRY cl_int CL_API_CALL
611 clReleaseDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
613 CL_API_ENTRY cl_int CL_API_CALL
614 clCreateSubDevices(cl_device_id /* in_device */,
615 const cl_device_partition_property * /* properties */,
616 cl_uint /* num_devices */,
617 cl_device_id * /* out_devices */,
618 cl_uint * /* num_devices_ret */) CL_API_SUFFIX__VERSION_1_2;
620 CL_API_ENTRY cl_int CL_API_CALL
621 clRetainDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
623 CL_API_ENTRY cl_int CL_API_CALL
624 clReleaseDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
626 CL_API_ENTRY cl_mem CL_API_CALL
627 clCreateImage(cl_context /* context */,
628 cl_mem_flags /* flags */,
629 const cl_image_format * /* image_format */,
630 const cl_image_desc * /* image_desc */,
631 void * /* host_ptr */,
632 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
634 CL_API_ENTRY cl_program CL_API_CALL
635 clCreateProgramWithBuiltInKernels(cl_context /* context */,
636 cl_uint /* num_devices */,
637 const cl_device_id * /* device_list */,
638 const char * /* kernel_names */,
639 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
641 CL_API_ENTRY cl_int CL_API_CALL
642 clCompileProgram(cl_program /* program */,
643 cl_uint /* num_devices */,
644 const cl_device_id * /* device_list */,
645 const char * /* options */,
646 cl_uint /* num_input_headers */,
647 const cl_program * /* input_headers */,
648 const char ** /* header_include_names */,
649 void (CL_CALLBACK * /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
650 void * /* user_data */) CL_API_SUFFIX__VERSION_1_2;
652 CL_API_ENTRY cl_program CL_API_CALL
653 clLinkProgram(cl_context /* context */,
654 cl_uint /* num_devices */,
655 const cl_device_id * /* device_list */,
656 const char * /* options */,
657 cl_uint /* num_input_programs */,
658 const cl_program * /* input_programs */,
659 void (CL_CALLBACK * /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
660 void * /* user_data */,
661 cl_int * /* errcode_ret */ ) CL_API_SUFFIX__VERSION_1_2;
663 CL_API_ENTRY cl_int CL_API_CALL
664 clUnloadPlatformCompiler(cl_platform_id /* platform */) CL_API_SUFFIX__VERSION_1_2;
666 CL_API_ENTRY cl_int CL_API_CALL
667 clGetKernelArgInfo(cl_kernel /* kernel */,
668 cl_uint /* arg_indx */,
669 cl_kernel_arg_info /* param_name */,
670 size_t /* param_value_size */,
671 void * /* param_value */,
672 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_2;
674 CL_API_ENTRY cl_int CL_API_CALL
675 clEnqueueFillBuffer(cl_command_queue /* command_queue */,
677 const void * /* pattern */,
678 size_t /* pattern_size */,
681 cl_uint /* num_events_in_wait_list */,
682 const cl_event * /* event_wait_list */,
683 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;
685 CL_API_ENTRY cl_int CL_API_CALL
686 clEnqueueFillImage(cl_command_queue /* command_queue */,
688 const void * /* fill_color */,
689 const size_t * /* origin[3] */,
690 const size_t * /* region[3] */,
691 cl_uint /* num_events_in_wait_list */,
692 const cl_event * /* event_wait_list */,
693 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;
695 CL_API_ENTRY cl_int CL_API_CALL
696 clEnqueueMigrateMemObjects(cl_command_queue /* command_queue */,
697 cl_uint /* num_mem_objects */,
698 const cl_mem * /* mem_objects */,
699 cl_mem_migration_flags /* flags */,
700 cl_uint /* num_events_in_wait_list */,
701 const cl_event * /* event_wait_list */,
702 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;
704 CL_API_ENTRY cl_int CL_API_CALL
705 clEnqueueMarkerWithWaitList(cl_command_queue /* command_queue */,
706 cl_uint /* num_events_in_wait_list */,
707 const cl_event * /* event_wait_list */,
708 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;
710 CL_API_ENTRY cl_int CL_API_CALL
711 clEnqueueBarrierWithWaitList(cl_command_queue /* command_queue */,
712 cl_uint /* num_events_in_wait_list */,
713 const cl_event * /* event_wait_list */,
714 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;
716 CL_API_ENTRY void * CL_API_CALL
717 clGetExtensionFunctionAddressForPlatform(cl_platform_id /* platform */,
718 const char * /* func_name */) CL_API_SUFFIX__VERSION_1_2;
720 CL_API_ENTRY cl_mem CL_API_CALL
721 clCreateFromGLTexture(cl_context /* context */,
722 cl_mem_flags /* flags */,
723 cl_GLenum /* target */,
724 cl_GLint /* miplevel */,
725 cl_GLuint /* texture */,
726 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;