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