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 clGetProgramInfo(cl_program /* program */,
216 cl_program_info /* param_name */,
217 size_t /* param_value_size */,
218 void * /* param_value */,
219 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
221 CL_API_ENTRY cl_int CL_API_CALL
222 clGetProgramBuildInfo(cl_program /* program */,
223 cl_device_id /* device */,
224 cl_program_build_info /* param_name */,
225 size_t /* param_value_size */,
226 void * /* param_value */,
227 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
229 CL_API_ENTRY cl_kernel CL_API_CALL
230 clCreateKernel(cl_program /* program */,
231 const char * /* kernel_name */,
232 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
234 CL_API_ENTRY cl_int CL_API_CALL
235 clCreateKernelsInProgram(cl_program /* program */,
236 cl_uint /* num_kernels */,
237 cl_kernel * /* kernels */,
238 cl_uint * /* num_kernels_ret */) CL_API_SUFFIX__VERSION_1_0;
240 CL_API_ENTRY cl_int CL_API_CALL
241 clRetainKernel(cl_kernel /* kernel */) CL_API_SUFFIX__VERSION_1_0;
243 CL_API_ENTRY cl_int CL_API_CALL
244 clReleaseKernel(cl_kernel /* kernel */) CL_API_SUFFIX__VERSION_1_0;
246 CL_API_ENTRY cl_int CL_API_CALL
247 clSetKernelArg(cl_kernel /* kernel */,
248 cl_uint /* arg_index */,
249 size_t /* arg_size */,
250 const void * /* arg_value */) CL_API_SUFFIX__VERSION_1_0;
252 CL_API_ENTRY cl_int CL_API_CALL
253 clGetKernelInfo(cl_kernel /* kernel */,
254 cl_kernel_info /* param_name */,
255 size_t /* param_value_size */,
256 void * /* param_value */,
257 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
259 CL_API_ENTRY cl_int CL_API_CALL
260 clGetKernelWorkGroupInfo(cl_kernel /* kernel */,
261 cl_device_id /* device */,
262 cl_kernel_work_group_info /* param_name */,
263 size_t /* param_value_size */,
264 void * /* param_value */,
265 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
267 CL_API_ENTRY cl_int CL_API_CALL
268 clWaitForEvents(cl_uint /* num_events */,
269 const cl_event * /* event_list */) CL_API_SUFFIX__VERSION_1_0;
271 CL_API_ENTRY cl_int CL_API_CALL
272 clGetEventInfo(cl_event /* event */,
273 cl_event_info /* param_name */,
274 size_t /* param_value_size */,
275 void * /* param_value */,
276 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
278 CL_API_ENTRY cl_int CL_API_CALL
279 clRetainEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
281 CL_API_ENTRY cl_int CL_API_CALL
282 clReleaseEvent(cl_event /* event */) CL_API_SUFFIX__VERSION_1_0;
284 CL_API_ENTRY cl_int CL_API_CALL
285 clGetEventProfilingInfo(cl_event /* event */,
286 cl_profiling_info /* param_name */,
287 size_t /* param_value_size */,
288 void * /* param_value */,
289 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
291 CL_API_ENTRY cl_int CL_API_CALL
292 clFlush(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
294 CL_API_ENTRY cl_int CL_API_CALL
295 clFinish(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
297 CL_API_ENTRY cl_int CL_API_CALL
298 clEnqueueReadBuffer(cl_command_queue /* command_queue */,
300 cl_bool /* blocking_read */,
304 cl_uint /* num_events_in_wait_list */,
305 const cl_event * /* event_wait_list */,
306 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
308 CL_API_ENTRY cl_int CL_API_CALL
309 clEnqueueWriteBuffer(cl_command_queue /* command_queue */,
311 cl_bool /* blocking_write */,
314 const void * /* ptr */,
315 cl_uint /* num_events_in_wait_list */,
316 const cl_event * /* event_wait_list */,
317 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
319 CL_API_ENTRY cl_int CL_API_CALL
320 clEnqueueCopyBuffer(cl_command_queue /* command_queue */,
321 cl_mem /* src_buffer */,
322 cl_mem /* dst_buffer */,
323 size_t /* src_offset */,
324 size_t /* dst_offset */,
326 cl_uint /* num_events_in_wait_list */,
327 const cl_event * /* event_wait_list */,
328 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
330 CL_API_ENTRY cl_int CL_API_CALL
331 clEnqueueReadImage(cl_command_queue /* command_queue */,
333 cl_bool /* blocking_read */,
334 const size_t * /* origin[3] */,
335 const size_t * /* region[3] */,
336 size_t /* row_pitch */,
337 size_t /* slice_pitch */,
339 cl_uint /* num_events_in_wait_list */,
340 const cl_event * /* event_wait_list */,
341 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
343 CL_API_ENTRY cl_int CL_API_CALL
344 clEnqueueWriteImage(cl_command_queue /* command_queue */,
346 cl_bool /* blocking_write */,
347 const size_t * /* origin[3] */,
348 const size_t * /* region[3] */,
349 size_t /* input_row_pitch */,
350 size_t /* input_slice_pitch */,
351 const void * /* ptr */,
352 cl_uint /* num_events_in_wait_list */,
353 const cl_event * /* event_wait_list */,
354 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
356 CL_API_ENTRY cl_int CL_API_CALL
357 clEnqueueCopyImage(cl_command_queue /* command_queue */,
358 cl_mem /* src_image */,
359 cl_mem /* dst_image */,
360 const size_t * /* src_origin[3] */,
361 const size_t * /* dst_origin[3] */,
362 const size_t * /* region[3] */,
363 cl_uint /* num_events_in_wait_list */,
364 const cl_event * /* event_wait_list */,
365 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
367 CL_API_ENTRY cl_int CL_API_CALL
368 clEnqueueCopyImageToBuffer(cl_command_queue /* command_queue */,
369 cl_mem /* src_image */,
370 cl_mem /* dst_buffer */,
371 const size_t * /* src_origin[3] */,
372 const size_t * /* region[3] */,
373 size_t /* dst_offset */,
374 cl_uint /* num_events_in_wait_list */,
375 const cl_event * /* event_wait_list */,
376 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
378 CL_API_ENTRY cl_int CL_API_CALL
379 clEnqueueCopyBufferToImage(cl_command_queue /* command_queue */,
380 cl_mem /* src_buffer */,
381 cl_mem /* dst_image */,
382 size_t /* src_offset */,
383 const size_t * /* dst_origin[3] */,
384 const size_t * /* region[3] */,
385 cl_uint /* num_events_in_wait_list */,
386 const cl_event * /* event_wait_list */,
387 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
389 CL_API_ENTRY void * CL_API_CALL
390 clEnqueueMapBuffer(cl_command_queue /* command_queue */,
392 cl_bool /* blocking_map */,
393 cl_map_flags /* map_flags */,
396 cl_uint /* num_events_in_wait_list */,
397 const cl_event * /* event_wait_list */,
398 cl_event * /* event */,
399 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
401 CL_API_ENTRY void * CL_API_CALL
402 clEnqueueMapImage(cl_command_queue /* command_queue */,
404 cl_bool /* blocking_map */,
405 cl_map_flags /* map_flags */,
406 const size_t * /* origin[3] */,
407 const size_t * /* region[3] */,
408 size_t * /* image_row_pitch */,
409 size_t * /* image_slice_pitch */,
410 cl_uint /* num_events_in_wait_list */,
411 const cl_event * /* event_wait_list */,
412 cl_event * /* event */,
413 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
415 CL_API_ENTRY cl_int CL_API_CALL
416 clEnqueueUnmapMemObject(cl_command_queue /* command_queue */,
418 void * /* mapped_ptr */,
419 cl_uint /* num_events_in_wait_list */,
420 const cl_event * /* event_wait_list */,
421 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
423 CL_API_ENTRY cl_int CL_API_CALL
424 clEnqueueNDRangeKernel(cl_command_queue /* command_queue */,
425 cl_kernel /* kernel */,
426 cl_uint /* work_dim */,
427 const size_t * /* global_work_offset */,
428 const size_t * /* global_work_size */,
429 const size_t * /* local_work_size */,
430 cl_uint /* num_events_in_wait_list */,
431 const cl_event * /* event_wait_list */,
432 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
434 CL_API_ENTRY cl_int CL_API_CALL
435 clEnqueueTask(cl_command_queue /* command_queue */,
436 cl_kernel /* kernel */,
437 cl_uint /* num_events_in_wait_list */,
438 const cl_event * /* event_wait_list */,
439 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
441 CL_API_ENTRY cl_int CL_API_CALL
442 clEnqueueNativeKernel(cl_command_queue /* command_queue */,
443 void (*user_func)(void *),
445 size_t /* cb_args */,
446 cl_uint /* num_mem_objects */,
447 const cl_mem * /* mem_list */,
448 const void ** /* args_mem_loc */,
449 cl_uint /* num_events_in_wait_list */,
450 const cl_event * /* event_wait_list */,
451 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
453 CL_API_ENTRY cl_int CL_API_CALL
454 clEnqueueMarker(cl_command_queue /* command_queue */,
455 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
457 CL_API_ENTRY cl_int CL_API_CALL
458 clEnqueueWaitForEvents(cl_command_queue /* command_queue */,
459 cl_uint /* num_events */,
460 const cl_event * /* event_list */) CL_API_SUFFIX__VERSION_1_0;
462 CL_API_ENTRY cl_int CL_API_CALL
463 clEnqueueBarrier(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0;
465 CL_API_ENTRY cl_mem CL_API_CALL
466 clCreateFromGLBuffer(cl_context /* context */,
467 cl_mem_flags /* flags */,
468 cl_GLuint /* bufobj */,
469 int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
471 CL_API_ENTRY cl_mem CL_API_CALL
472 clCreateFromGLTexture2D(cl_context /* context */,
473 cl_mem_flags /* flags */,
474 cl_GLenum /* target */,
475 cl_GLint /* miplevel */,
476 cl_GLuint /* texture */,
477 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
479 CL_API_ENTRY cl_mem CL_API_CALL
480 clCreateFromGLTexture3D(cl_context /* context */,
481 cl_mem_flags /* flags */,
482 cl_GLenum /* target */,
483 cl_GLint /* miplevel */,
484 cl_GLuint /* texture */,
485 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
487 CL_API_ENTRY cl_mem CL_API_CALL
488 clCreateFromGLRenderbuffer(cl_context /* context */,
489 cl_mem_flags /* flags */,
490 cl_GLuint /* renderbuffer */,
491 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0;
493 CL_API_ENTRY cl_int CL_API_CALL
494 clGetGLObjectInfo(cl_mem /* memobj */,
495 cl_gl_object_type * /* gl_object_type */,
496 cl_GLuint * /* gl_object_name */) CL_API_SUFFIX__VERSION_1_0;
498 CL_API_ENTRY cl_int CL_API_CALL
499 clGetGLTextureInfo(cl_mem /* memobj */,
500 cl_gl_texture_info /* param_name */,
501 size_t /* param_value_size */,
502 void * /* param_value */,
503 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0;
505 CL_API_ENTRY cl_int CL_API_CALL
506 clEnqueueAcquireGLObjects(cl_command_queue /* command_queue */,
507 cl_uint /* num_objects */,
508 const cl_mem * /* mem_objects */,
509 cl_uint /* num_events_in_wait_list */,
510 const cl_event * /* event_wait_list */,
511 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
513 CL_API_ENTRY cl_int CL_API_CALL
514 clEnqueueReleaseGLObjects(cl_command_queue /* command_queue */,
515 cl_uint /* num_objects */,
516 const cl_mem * /* mem_objects */,
517 cl_uint /* num_events_in_wait_list */,
518 const cl_event * /* event_wait_list */,
519 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_0;
521 CL_API_ENTRY cl_int CL_API_CALL
522 clSetEventCallback( cl_event /* event */,
523 cl_int /* command_exec_callback_type */,
524 void (CL_CALLBACK * /* pfn_notify */)(cl_event, cl_int, void *),
525 void * /* user_data */) CL_API_SUFFIX__VERSION_1_1;
527 CL_API_ENTRY cl_mem CL_API_CALL
528 clCreateSubBuffer(cl_mem /* buffer */,
529 cl_mem_flags /* flags */,
530 cl_buffer_create_type /* buffer_create_type */,
531 const void * /* buffer_create_info */,
532 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
534 CL_API_ENTRY cl_int CL_API_CALL
535 clSetMemObjectDestructorCallback( cl_mem /* memobj */,
536 void (CL_CALLBACK * /*pfn_notify*/)( cl_mem /* memobj */, void* /*user_data*/),
537 void * /*user_data */ ) CL_API_SUFFIX__VERSION_1_1;
539 CL_API_ENTRY cl_event CL_API_CALL
540 clCreateUserEvent(cl_context /* context */,
541 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
543 CL_API_ENTRY cl_int CL_API_CALL
544 clSetUserEventStatus(cl_event /* event */,
545 cl_int /* execution_status */) CL_API_SUFFIX__VERSION_1_1;
547 CL_API_ENTRY cl_int CL_API_CALL
548 clEnqueueReadBufferRect(cl_command_queue /* command_queue */,
550 cl_bool /* blocking_read */,
551 const size_t * /* buffer_origin */,
552 const size_t * /* host_origin */,
553 const size_t * /* region */,
554 size_t /* buffer_row_pitch */,
555 size_t /* buffer_slice_pitch */,
556 size_t /* host_row_pitch */,
557 size_t /* host_slice_pitch */,
559 cl_uint /* num_events_in_wait_list */,
560 const cl_event * /* event_wait_list */,
561 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_1;
563 CL_API_ENTRY cl_int CL_API_CALL
564 clEnqueueWriteBufferRect(cl_command_queue /* command_queue */,
566 cl_bool /* blocking_write */,
567 const size_t * /* buffer_origin */,
568 const size_t * /* host_origin */,
569 const size_t * /* region */,
570 size_t /* buffer_row_pitch */,
571 size_t /* buffer_slice_pitch */,
572 size_t /* host_row_pitch */,
573 size_t /* host_slice_pitch */,
574 const void * /* ptr */,
575 cl_uint /* num_events_in_wait_list */,
576 const cl_event * /* event_wait_list */,
577 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_1;
579 CL_API_ENTRY cl_int CL_API_CALL
580 clEnqueueCopyBufferRect(cl_command_queue /* command_queue */,
581 cl_mem /* src_buffer */,
582 cl_mem /* dst_buffer */,
583 const size_t * /* src_origin */,
584 const size_t * /* dst_origin */,
585 const size_t * /* region */,
586 size_t /* src_row_pitch */,
587 size_t /* src_slice_pitch */,
588 size_t /* dst_row_pitch */,
589 size_t /* dst_slice_pitch */,
590 cl_uint /* num_events_in_wait_list */,
591 const cl_event * /* event_wait_list */,
592 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_1;
594 CL_API_ENTRY cl_int CL_API_CALL
595 clCreateSubDevicesEXT( cl_device_id /*in_device*/,
596 const cl_device_partition_property_ext * /* properties */,
597 cl_uint /*num_entries*/,
598 cl_device_id * /*out_devices*/,
599 cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;
601 CL_API_ENTRY cl_int CL_API_CALL
602 clRetainDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
604 CL_API_ENTRY cl_int CL_API_CALL
605 clReleaseDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
607 CL_API_ENTRY cl_int CL_API_CALL
608 clCreateSubDevices(cl_device_id /* in_device */,
609 const cl_device_partition_property * /* properties */,
610 cl_uint /* num_devices */,
611 cl_device_id * /* out_devices */,
612 cl_uint * /* num_devices_ret */) CL_API_SUFFIX__VERSION_1_2;
614 CL_API_ENTRY cl_int CL_API_CALL
615 clRetainDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
617 CL_API_ENTRY cl_int CL_API_CALL
618 clReleaseDevice(cl_device_id /* device */) CL_API_SUFFIX__VERSION_1_2;
620 CL_API_ENTRY cl_mem CL_API_CALL
621 clCreateImage(cl_context /* context */,
622 cl_mem_flags /* flags */,
623 const cl_image_format * /* image_format */,
624 const cl_image_desc * /* image_desc */,
625 void * /* host_ptr */,
626 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
628 CL_API_ENTRY cl_program CL_API_CALL
629 clCreateProgramWithBuiltInKernels(cl_context /* context */,
630 cl_uint /* num_devices */,
631 const cl_device_id * /* device_list */,
632 const char * /* kernel_names */,
633 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;
635 CL_API_ENTRY cl_int CL_API_CALL
636 clCompileProgram(cl_program /* program */,
637 cl_uint /* num_devices */,
638 const cl_device_id * /* device_list */,
639 const char * /* options */,
640 cl_uint /* num_input_headers */,
641 const cl_program * /* input_headers */,
642 const char ** /* header_include_names */,
643 void (CL_CALLBACK * /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
644 void * /* user_data */) CL_API_SUFFIX__VERSION_1_2;
646 CL_API_ENTRY cl_program CL_API_CALL
647 clLinkProgram(cl_context /* context */,
648 cl_uint /* num_devices */,
649 const cl_device_id * /* device_list */,
650 const char * /* options */,
651 cl_uint /* num_input_programs */,
652 const cl_program * /* input_programs */,
653 void (CL_CALLBACK * /* pfn_notify */)(cl_program /* program */, void * /* user_data */),
654 void * /* user_data */,
655 cl_int * /* errcode_ret */ ) CL_API_SUFFIX__VERSION_1_2;
657 CL_API_ENTRY cl_int CL_API_CALL
658 clUnloadPlatformCompiler(cl_platform_id /* platform */) CL_API_SUFFIX__VERSION_1_2;
660 CL_API_ENTRY cl_int CL_API_CALL
661 clGetKernelArgInfo(cl_kernel /* kernel */,
662 cl_uint /* arg_indx */,
663 cl_kernel_arg_info /* param_name */,
664 size_t /* param_value_size */,
665 void * /* param_value */,
666 size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_2;
668 CL_API_ENTRY cl_int CL_API_CALL
669 clEnqueueFillBuffer(cl_command_queue /* command_queue */,
671 const void * /* pattern */,
672 size_t /* pattern_size */,
675 cl_uint /* num_events_in_wait_list */,
676 const cl_event * /* event_wait_list */,
677 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;
679 CL_API_ENTRY cl_int CL_API_CALL
680 clEnqueueFillImage(cl_command_queue /* command_queue */,
682 const void * /* fill_color */,
683 const size_t * /* origin[3] */,
684 const size_t * /* region[3] */,
685 cl_uint /* num_events_in_wait_list */,
686 const cl_event * /* event_wait_list */,
687 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;
689 CL_API_ENTRY cl_int CL_API_CALL
690 clEnqueueMigrateMemObjects(cl_command_queue /* command_queue */,
691 cl_uint /* num_mem_objects */,
692 const cl_mem * /* mem_objects */,
693 cl_mem_migration_flags /* flags */,
694 cl_uint /* num_events_in_wait_list */,
695 const cl_event * /* event_wait_list */,
696 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;
698 CL_API_ENTRY cl_int CL_API_CALL
699 clEnqueueMarkerWithWaitList(cl_command_queue /* command_queue */,
700 cl_uint /* num_events_in_wait_list */,
701 const cl_event * /* event_wait_list */,
702 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;
704 CL_API_ENTRY cl_int CL_API_CALL
705 clEnqueueBarrierWithWaitList(cl_command_queue /* command_queue */,
706 cl_uint /* num_events_in_wait_list */,
707 const cl_event * /* event_wait_list */,
708 cl_event * /* event */) CL_API_SUFFIX__VERSION_1_2;
710 CL_API_ENTRY void * CL_API_CALL
711 clGetExtensionFunctionAddressForPlatform(cl_platform_id /* platform */,
712 const char * /* func_name */) CL_API_SUFFIX__VERSION_1_2;
714 CL_API_ENTRY cl_mem CL_API_CALL
715 clCreateFromGLTexture(cl_context /* context */,
716 cl_mem_flags /* flags */,
717 cl_GLenum /* target */,
718 cl_GLint /* miplevel */,
719 cl_GLuint /* texture */,
720 cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2;