Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/angle
Path: blob/main_old/src/libGLESv2/entry_points_cl_autogen.h
1693 views
1
// GENERATED FILE - DO NOT EDIT.
2
// Generated by generate_entry_points.py using data from cl.xml.
3
//
4
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
5
// Use of this source code is governed by a BSD-style license that can be
6
// found in the LICENSE file.
7
//
8
// entry_points_cl_autogen.h:
9
// Defines the CL entry points.
10
11
#ifndef LIBGLESV2_ENTRY_POINTS_CL_AUTOGEN_H_
12
#define LIBGLESV2_ENTRY_POINTS_CL_AUTOGEN_H_
13
14
#include "angle_cl.h"
15
16
namespace cl
17
{
18
19
// CL 1.0
20
cl_int CL_API_CALL clGetPlatformIDs(cl_uint num_entries,
21
cl_platform_id *platforms,
22
cl_uint *num_platforms);
23
cl_int CL_API_CALL clGetPlatformInfo(cl_platform_id platform,
24
cl_platform_info param_name,
25
size_t param_value_size,
26
void *param_value,
27
size_t *param_value_size_ret);
28
cl_int CL_API_CALL clGetDeviceIDs(cl_platform_id platform,
29
cl_device_type device_type,
30
cl_uint num_entries,
31
cl_device_id *devices,
32
cl_uint *num_devices);
33
cl_int CL_API_CALL clGetDeviceInfo(cl_device_id device,
34
cl_device_info param_name,
35
size_t param_value_size,
36
void *param_value,
37
size_t *param_value_size_ret);
38
cl_context CL_API_CALL clCreateContext(const cl_context_properties *properties,
39
cl_uint num_devices,
40
const cl_device_id *devices,
41
void(CL_CALLBACK *pfn_notify)(const char *errinfo,
42
const void *private_info,
43
size_t cb,
44
void *user_data),
45
void *user_data,
46
cl_int *errcode_ret);
47
cl_context CL_API_CALL
48
clCreateContextFromType(const cl_context_properties *properties,
49
cl_device_type device_type,
50
void(CL_CALLBACK *pfn_notify)(const char *errinfo,
51
const void *private_info,
52
size_t cb,
53
void *user_data),
54
void *user_data,
55
cl_int *errcode_ret);
56
cl_int CL_API_CALL clRetainContext(cl_context context);
57
cl_int CL_API_CALL clReleaseContext(cl_context context);
58
cl_int CL_API_CALL clGetContextInfo(cl_context context,
59
cl_context_info param_name,
60
size_t param_value_size,
61
void *param_value,
62
size_t *param_value_size_ret);
63
cl_int CL_API_CALL clRetainCommandQueue(cl_command_queue command_queue);
64
cl_int CL_API_CALL clReleaseCommandQueue(cl_command_queue command_queue);
65
cl_int CL_API_CALL clGetCommandQueueInfo(cl_command_queue command_queue,
66
cl_command_queue_info param_name,
67
size_t param_value_size,
68
void *param_value,
69
size_t *param_value_size_ret);
70
cl_mem CL_API_CALL clCreateBuffer(cl_context context,
71
cl_mem_flags flags,
72
size_t size,
73
void *host_ptr,
74
cl_int *errcode_ret);
75
cl_int CL_API_CALL clRetainMemObject(cl_mem memobj);
76
cl_int CL_API_CALL clReleaseMemObject(cl_mem memobj);
77
cl_int CL_API_CALL clGetSupportedImageFormats(cl_context context,
78
cl_mem_flags flags,
79
cl_mem_object_type image_type,
80
cl_uint num_entries,
81
cl_image_format *image_formats,
82
cl_uint *num_image_formats);
83
cl_int CL_API_CALL clGetMemObjectInfo(cl_mem memobj,
84
cl_mem_info param_name,
85
size_t param_value_size,
86
void *param_value,
87
size_t *param_value_size_ret);
88
cl_int CL_API_CALL clGetImageInfo(cl_mem image,
89
cl_image_info param_name,
90
size_t param_value_size,
91
void *param_value,
92
size_t *param_value_size_ret);
93
cl_int CL_API_CALL clRetainSampler(cl_sampler sampler);
94
cl_int CL_API_CALL clReleaseSampler(cl_sampler sampler);
95
cl_int CL_API_CALL clGetSamplerInfo(cl_sampler sampler,
96
cl_sampler_info param_name,
97
size_t param_value_size,
98
void *param_value,
99
size_t *param_value_size_ret);
100
cl_program CL_API_CALL clCreateProgramWithSource(cl_context context,
101
cl_uint count,
102
const char **strings,
103
const size_t *lengths,
104
cl_int *errcode_ret);
105
cl_program CL_API_CALL clCreateProgramWithBinary(cl_context context,
106
cl_uint num_devices,
107
const cl_device_id *device_list,
108
const size_t *lengths,
109
const unsigned char **binaries,
110
cl_int *binary_status,
111
cl_int *errcode_ret);
112
cl_int CL_API_CALL clRetainProgram(cl_program program);
113
cl_int CL_API_CALL clReleaseProgram(cl_program program);
114
cl_int CL_API_CALL clBuildProgram(cl_program program,
115
cl_uint num_devices,
116
const cl_device_id *device_list,
117
const char *options,
118
void(CL_CALLBACK *pfn_notify)(cl_program program,
119
void *user_data),
120
void *user_data);
121
cl_int CL_API_CALL clGetProgramInfo(cl_program program,
122
cl_program_info param_name,
123
size_t param_value_size,
124
void *param_value,
125
size_t *param_value_size_ret);
126
cl_int CL_API_CALL clGetProgramBuildInfo(cl_program program,
127
cl_device_id device,
128
cl_program_build_info param_name,
129
size_t param_value_size,
130
void *param_value,
131
size_t *param_value_size_ret);
132
cl_kernel CL_API_CALL clCreateKernel(cl_program program,
133
const char *kernel_name,
134
cl_int *errcode_ret);
135
cl_int CL_API_CALL clCreateKernelsInProgram(cl_program program,
136
cl_uint num_kernels,
137
cl_kernel *kernels,
138
cl_uint *num_kernels_ret);
139
cl_int CL_API_CALL clRetainKernel(cl_kernel kernel);
140
cl_int CL_API_CALL clReleaseKernel(cl_kernel kernel);
141
cl_int CL_API_CALL clSetKernelArg(cl_kernel kernel,
142
cl_uint arg_index,
143
size_t arg_size,
144
const void *arg_value);
145
cl_int CL_API_CALL clGetKernelInfo(cl_kernel kernel,
146
cl_kernel_info param_name,
147
size_t param_value_size,
148
void *param_value,
149
size_t *param_value_size_ret);
150
cl_int CL_API_CALL clGetKernelWorkGroupInfo(cl_kernel kernel,
151
cl_device_id device,
152
cl_kernel_work_group_info param_name,
153
size_t param_value_size,
154
void *param_value,
155
size_t *param_value_size_ret);
156
cl_int CL_API_CALL clWaitForEvents(cl_uint num_events, const cl_event *event_list);
157
cl_int CL_API_CALL clGetEventInfo(cl_event event,
158
cl_event_info param_name,
159
size_t param_value_size,
160
void *param_value,
161
size_t *param_value_size_ret);
162
cl_int CL_API_CALL clRetainEvent(cl_event event);
163
cl_int CL_API_CALL clReleaseEvent(cl_event event);
164
cl_int CL_API_CALL clGetEventProfilingInfo(cl_event event,
165
cl_profiling_info param_name,
166
size_t param_value_size,
167
void *param_value,
168
size_t *param_value_size_ret);
169
cl_int CL_API_CALL clFlush(cl_command_queue command_queue);
170
cl_int CL_API_CALL clFinish(cl_command_queue command_queue);
171
cl_int CL_API_CALL clEnqueueReadBuffer(cl_command_queue command_queue,
172
cl_mem buffer,
173
cl_bool blocking_read,
174
size_t offset,
175
size_t size,
176
void *ptr,
177
cl_uint num_events_in_wait_list,
178
const cl_event *event_wait_list,
179
cl_event *event);
180
cl_int CL_API_CALL clEnqueueWriteBuffer(cl_command_queue command_queue,
181
cl_mem buffer,
182
cl_bool blocking_write,
183
size_t offset,
184
size_t size,
185
const void *ptr,
186
cl_uint num_events_in_wait_list,
187
const cl_event *event_wait_list,
188
cl_event *event);
189
cl_int CL_API_CALL clEnqueueCopyBuffer(cl_command_queue command_queue,
190
cl_mem src_buffer,
191
cl_mem dst_buffer,
192
size_t src_offset,
193
size_t dst_offset,
194
size_t size,
195
cl_uint num_events_in_wait_list,
196
const cl_event *event_wait_list,
197
cl_event *event);
198
cl_int CL_API_CALL clEnqueueReadImage(cl_command_queue command_queue,
199
cl_mem image,
200
cl_bool blocking_read,
201
const size_t *origin,
202
const size_t *region,
203
size_t row_pitch,
204
size_t slice_pitch,
205
void *ptr,
206
cl_uint num_events_in_wait_list,
207
const cl_event *event_wait_list,
208
cl_event *event);
209
cl_int CL_API_CALL clEnqueueWriteImage(cl_command_queue command_queue,
210
cl_mem image,
211
cl_bool blocking_write,
212
const size_t *origin,
213
const size_t *region,
214
size_t input_row_pitch,
215
size_t input_slice_pitch,
216
const void *ptr,
217
cl_uint num_events_in_wait_list,
218
const cl_event *event_wait_list,
219
cl_event *event);
220
cl_int CL_API_CALL clEnqueueCopyImage(cl_command_queue command_queue,
221
cl_mem src_image,
222
cl_mem dst_image,
223
const size_t *src_origin,
224
const size_t *dst_origin,
225
const size_t *region,
226
cl_uint num_events_in_wait_list,
227
const cl_event *event_wait_list,
228
cl_event *event);
229
cl_int CL_API_CALL clEnqueueCopyImageToBuffer(cl_command_queue command_queue,
230
cl_mem src_image,
231
cl_mem dst_buffer,
232
const size_t *src_origin,
233
const size_t *region,
234
size_t dst_offset,
235
cl_uint num_events_in_wait_list,
236
const cl_event *event_wait_list,
237
cl_event *event);
238
cl_int CL_API_CALL clEnqueueCopyBufferToImage(cl_command_queue command_queue,
239
cl_mem src_buffer,
240
cl_mem dst_image,
241
size_t src_offset,
242
const size_t *dst_origin,
243
const size_t *region,
244
cl_uint num_events_in_wait_list,
245
const cl_event *event_wait_list,
246
cl_event *event);
247
void *CL_API_CALL clEnqueueMapBuffer(cl_command_queue command_queue,
248
cl_mem buffer,
249
cl_bool blocking_map,
250
cl_map_flags map_flags,
251
size_t offset,
252
size_t size,
253
cl_uint num_events_in_wait_list,
254
const cl_event *event_wait_list,
255
cl_event *event,
256
cl_int *errcode_ret);
257
void *CL_API_CALL clEnqueueMapImage(cl_command_queue command_queue,
258
cl_mem image,
259
cl_bool blocking_map,
260
cl_map_flags map_flags,
261
const size_t *origin,
262
const size_t *region,
263
size_t *image_row_pitch,
264
size_t *image_slice_pitch,
265
cl_uint num_events_in_wait_list,
266
const cl_event *event_wait_list,
267
cl_event *event,
268
cl_int *errcode_ret);
269
cl_int CL_API_CALL clEnqueueUnmapMemObject(cl_command_queue command_queue,
270
cl_mem memobj,
271
void *mapped_ptr,
272
cl_uint num_events_in_wait_list,
273
const cl_event *event_wait_list,
274
cl_event *event);
275
cl_int CL_API_CALL clEnqueueNDRangeKernel(cl_command_queue command_queue,
276
cl_kernel kernel,
277
cl_uint work_dim,
278
const size_t *global_work_offset,
279
const size_t *global_work_size,
280
const size_t *local_work_size,
281
cl_uint num_events_in_wait_list,
282
const cl_event *event_wait_list,
283
cl_event *event);
284
cl_int CL_API_CALL clEnqueueNativeKernel(cl_command_queue command_queue,
285
void(CL_CALLBACK *user_func)(void *),
286
void *args,
287
size_t cb_args,
288
cl_uint num_mem_objects,
289
const cl_mem *mem_list,
290
const void **args_mem_loc,
291
cl_uint num_events_in_wait_list,
292
const cl_event *event_wait_list,
293
cl_event *event);
294
cl_int CL_API_CALL clSetCommandQueueProperty(cl_command_queue command_queue,
295
cl_command_queue_properties properties,
296
cl_bool enable,
297
cl_command_queue_properties *old_properties);
298
cl_mem CL_API_CALL clCreateImage2D(cl_context context,
299
cl_mem_flags flags,
300
const cl_image_format *image_format,
301
size_t image_width,
302
size_t image_height,
303
size_t image_row_pitch,
304
void *host_ptr,
305
cl_int *errcode_ret);
306
cl_mem CL_API_CALL clCreateImage3D(cl_context context,
307
cl_mem_flags flags,
308
const cl_image_format *image_format,
309
size_t image_width,
310
size_t image_height,
311
size_t image_depth,
312
size_t image_row_pitch,
313
size_t image_slice_pitch,
314
void *host_ptr,
315
cl_int *errcode_ret);
316
cl_int CL_API_CALL clEnqueueMarker(cl_command_queue command_queue, cl_event *event);
317
cl_int CL_API_CALL clEnqueueWaitForEvents(cl_command_queue command_queue,
318
cl_uint num_events,
319
const cl_event *event_list);
320
cl_int CL_API_CALL clEnqueueBarrier(cl_command_queue command_queue);
321
cl_int CL_API_CALL clUnloadCompiler();
322
void *CL_API_CALL clGetExtensionFunctionAddress(const char *func_name);
323
cl_command_queue CL_API_CALL clCreateCommandQueue(cl_context context,
324
cl_device_id device,
325
cl_command_queue_properties properties,
326
cl_int *errcode_ret);
327
cl_sampler CL_API_CALL clCreateSampler(cl_context context,
328
cl_bool normalized_coords,
329
cl_addressing_mode addressing_mode,
330
cl_filter_mode filter_mode,
331
cl_int *errcode_ret);
332
cl_int CL_API_CALL clEnqueueTask(cl_command_queue command_queue,
333
cl_kernel kernel,
334
cl_uint num_events_in_wait_list,
335
const cl_event *event_wait_list,
336
cl_event *event);
337
338
// CL 1.1
339
cl_mem CL_API_CALL clCreateSubBuffer(cl_mem buffer,
340
cl_mem_flags flags,
341
cl_buffer_create_type buffer_create_type,
342
const void *buffer_create_info,
343
cl_int *errcode_ret);
344
cl_int CL_API_CALL clSetMemObjectDestructorCallback(cl_mem memobj,
345
void(CL_CALLBACK *pfn_notify)(cl_mem memobj,
346
void *user_data),
347
void *user_data);
348
cl_event CL_API_CALL clCreateUserEvent(cl_context context, cl_int *errcode_ret);
349
cl_int CL_API_CALL clSetUserEventStatus(cl_event event, cl_int execution_status);
350
cl_int CL_API_CALL clSetEventCallback(cl_event event,
351
cl_int command_exec_callback_type,
352
void(CL_CALLBACK *pfn_notify)(cl_event event,
353
cl_int event_command_status,
354
void *user_data),
355
void *user_data);
356
cl_int CL_API_CALL clEnqueueReadBufferRect(cl_command_queue command_queue,
357
cl_mem buffer,
358
cl_bool blocking_read,
359
const size_t *buffer_origin,
360
const size_t *host_origin,
361
const size_t *region,
362
size_t buffer_row_pitch,
363
size_t buffer_slice_pitch,
364
size_t host_row_pitch,
365
size_t host_slice_pitch,
366
void *ptr,
367
cl_uint num_events_in_wait_list,
368
const cl_event *event_wait_list,
369
cl_event *event);
370
cl_int CL_API_CALL clEnqueueWriteBufferRect(cl_command_queue command_queue,
371
cl_mem buffer,
372
cl_bool blocking_write,
373
const size_t *buffer_origin,
374
const size_t *host_origin,
375
const size_t *region,
376
size_t buffer_row_pitch,
377
size_t buffer_slice_pitch,
378
size_t host_row_pitch,
379
size_t host_slice_pitch,
380
const void *ptr,
381
cl_uint num_events_in_wait_list,
382
const cl_event *event_wait_list,
383
cl_event *event);
384
cl_int CL_API_CALL clEnqueueCopyBufferRect(cl_command_queue command_queue,
385
cl_mem src_buffer,
386
cl_mem dst_buffer,
387
const size_t *src_origin,
388
const size_t *dst_origin,
389
const size_t *region,
390
size_t src_row_pitch,
391
size_t src_slice_pitch,
392
size_t dst_row_pitch,
393
size_t dst_slice_pitch,
394
cl_uint num_events_in_wait_list,
395
const cl_event *event_wait_list,
396
cl_event *event);
397
398
// CL 1.2
399
cl_int CL_API_CALL clCreateSubDevices(cl_device_id in_device,
400
const cl_device_partition_property *properties,
401
cl_uint num_devices,
402
cl_device_id *out_devices,
403
cl_uint *num_devices_ret);
404
cl_int CL_API_CALL clRetainDevice(cl_device_id device);
405
cl_int CL_API_CALL clReleaseDevice(cl_device_id device);
406
cl_mem CL_API_CALL clCreateImage(cl_context context,
407
cl_mem_flags flags,
408
const cl_image_format *image_format,
409
const cl_image_desc *image_desc,
410
void *host_ptr,
411
cl_int *errcode_ret);
412
cl_program CL_API_CALL clCreateProgramWithBuiltInKernels(cl_context context,
413
cl_uint num_devices,
414
const cl_device_id *device_list,
415
const char *kernel_names,
416
cl_int *errcode_ret);
417
cl_int CL_API_CALL clCompileProgram(cl_program program,
418
cl_uint num_devices,
419
const cl_device_id *device_list,
420
const char *options,
421
cl_uint num_input_headers,
422
const cl_program *input_headers,
423
const char **header_include_names,
424
void(CL_CALLBACK *pfn_notify)(cl_program program,
425
void *user_data),
426
void *user_data);
427
cl_program CL_API_CALL clLinkProgram(cl_context context,
428
cl_uint num_devices,
429
const cl_device_id *device_list,
430
const char *options,
431
cl_uint num_input_programs,
432
const cl_program *input_programs,
433
void(CL_CALLBACK *pfn_notify)(cl_program program,
434
void *user_data),
435
void *user_data,
436
cl_int *errcode_ret);
437
cl_int CL_API_CALL clUnloadPlatformCompiler(cl_platform_id platform);
438
cl_int CL_API_CALL clGetKernelArgInfo(cl_kernel kernel,
439
cl_uint arg_index,
440
cl_kernel_arg_info param_name,
441
size_t param_value_size,
442
void *param_value,
443
size_t *param_value_size_ret);
444
cl_int CL_API_CALL clEnqueueFillBuffer(cl_command_queue command_queue,
445
cl_mem buffer,
446
const void *pattern,
447
size_t pattern_size,
448
size_t offset,
449
size_t size,
450
cl_uint num_events_in_wait_list,
451
const cl_event *event_wait_list,
452
cl_event *event);
453
cl_int CL_API_CALL clEnqueueFillImage(cl_command_queue command_queue,
454
cl_mem image,
455
const void *fill_color,
456
const size_t *origin,
457
const size_t *region,
458
cl_uint num_events_in_wait_list,
459
const cl_event *event_wait_list,
460
cl_event *event);
461
cl_int CL_API_CALL clEnqueueMigrateMemObjects(cl_command_queue command_queue,
462
cl_uint num_mem_objects,
463
const cl_mem *mem_objects,
464
cl_mem_migration_flags flags,
465
cl_uint num_events_in_wait_list,
466
const cl_event *event_wait_list,
467
cl_event *event);
468
cl_int CL_API_CALL clEnqueueMarkerWithWaitList(cl_command_queue command_queue,
469
cl_uint num_events_in_wait_list,
470
const cl_event *event_wait_list,
471
cl_event *event);
472
cl_int CL_API_CALL clEnqueueBarrierWithWaitList(cl_command_queue command_queue,
473
cl_uint num_events_in_wait_list,
474
const cl_event *event_wait_list,
475
cl_event *event);
476
void *CL_API_CALL clGetExtensionFunctionAddressForPlatform(cl_platform_id platform,
477
const char *func_name);
478
479
// CL 2.0
480
cl_command_queue CL_API_CALL
481
clCreateCommandQueueWithProperties(cl_context context,
482
cl_device_id device,
483
const cl_queue_properties *properties,
484
cl_int *errcode_ret);
485
cl_mem CL_API_CALL clCreatePipe(cl_context context,
486
cl_mem_flags flags,
487
cl_uint pipe_packet_size,
488
cl_uint pipe_max_packets,
489
const cl_pipe_properties *properties,
490
cl_int *errcode_ret);
491
cl_int CL_API_CALL clGetPipeInfo(cl_mem pipe,
492
cl_pipe_info param_name,
493
size_t param_value_size,
494
void *param_value,
495
size_t *param_value_size_ret);
496
void *CL_API_CALL clSVMAlloc(cl_context context,
497
cl_svm_mem_flags flags,
498
size_t size,
499
cl_uint alignment);
500
void CL_API_CALL clSVMFree(cl_context context, void *svm_pointer);
501
cl_sampler CL_API_CALL
502
clCreateSamplerWithProperties(cl_context context,
503
const cl_sampler_properties *sampler_properties,
504
cl_int *errcode_ret);
505
cl_int CL_API_CALL clSetKernelArgSVMPointer(cl_kernel kernel,
506
cl_uint arg_index,
507
const void *arg_value);
508
cl_int CL_API_CALL clSetKernelExecInfo(cl_kernel kernel,
509
cl_kernel_exec_info param_name,
510
size_t param_value_size,
511
const void *param_value);
512
cl_int CL_API_CALL clEnqueueSVMFree(cl_command_queue command_queue,
513
cl_uint num_svm_pointers,
514
void *svm_pointers[],
515
void(CL_CALLBACK *pfn_free_func)(cl_command_queue queue,
516
cl_uint num_svm_pointers,
517
void *svm_pointers[],
518
void *user_data),
519
void *user_data,
520
cl_uint num_events_in_wait_list,
521
const cl_event *event_wait_list,
522
cl_event *event);
523
cl_int CL_API_CALL clEnqueueSVMMemcpy(cl_command_queue command_queue,
524
cl_bool blocking_copy,
525
void *dst_ptr,
526
const void *src_ptr,
527
size_t size,
528
cl_uint num_events_in_wait_list,
529
const cl_event *event_wait_list,
530
cl_event *event);
531
cl_int CL_API_CALL clEnqueueSVMMemFill(cl_command_queue command_queue,
532
void *svm_ptr,
533
const void *pattern,
534
size_t pattern_size,
535
size_t size,
536
cl_uint num_events_in_wait_list,
537
const cl_event *event_wait_list,
538
cl_event *event);
539
cl_int CL_API_CALL clEnqueueSVMMap(cl_command_queue command_queue,
540
cl_bool blocking_map,
541
cl_map_flags flags,
542
void *svm_ptr,
543
size_t size,
544
cl_uint num_events_in_wait_list,
545
const cl_event *event_wait_list,
546
cl_event *event);
547
cl_int CL_API_CALL clEnqueueSVMUnmap(cl_command_queue command_queue,
548
void *svm_ptr,
549
cl_uint num_events_in_wait_list,
550
const cl_event *event_wait_list,
551
cl_event *event);
552
553
// CL 2.1
554
cl_int CL_API_CALL clSetDefaultDeviceCommandQueue(cl_context context,
555
cl_device_id device,
556
cl_command_queue command_queue);
557
cl_int CL_API_CALL clGetDeviceAndHostTimer(cl_device_id device,
558
cl_ulong *device_timestamp,
559
cl_ulong *host_timestamp);
560
cl_int CL_API_CALL clGetHostTimer(cl_device_id device, cl_ulong *host_timestamp);
561
cl_program CL_API_CALL clCreateProgramWithIL(cl_context context,
562
const void *il,
563
size_t length,
564
cl_int *errcode_ret);
565
cl_kernel CL_API_CALL clCloneKernel(cl_kernel source_kernel, cl_int *errcode_ret);
566
cl_int CL_API_CALL clGetKernelSubGroupInfo(cl_kernel kernel,
567
cl_device_id device,
568
cl_kernel_sub_group_info param_name,
569
size_t input_value_size,
570
const void *input_value,
571
size_t param_value_size,
572
void *param_value,
573
size_t *param_value_size_ret);
574
cl_int CL_API_CALL clEnqueueSVMMigrateMem(cl_command_queue command_queue,
575
cl_uint num_svm_pointers,
576
const void **svm_pointers,
577
const size_t *sizes,
578
cl_mem_migration_flags flags,
579
cl_uint num_events_in_wait_list,
580
const cl_event *event_wait_list,
581
cl_event *event);
582
583
// CL 2.2
584
cl_int CL_API_CALL clSetProgramReleaseCallback(cl_program program,
585
void(CL_CALLBACK *pfn_notify)(cl_program program,
586
void *user_data),
587
void *user_data);
588
cl_int CL_API_CALL clSetProgramSpecializationConstant(cl_program program,
589
cl_uint spec_id,
590
size_t spec_size,
591
const void *spec_value);
592
593
// CL 3.0
594
cl_int CL_API_CALL clSetContextDestructorCallback(cl_context context,
595
void(CL_CALLBACK *pfn_notify)(cl_context context,
596
void *user_data),
597
void *user_data);
598
cl_mem CL_API_CALL clCreateBufferWithProperties(cl_context context,
599
const cl_mem_properties *properties,
600
cl_mem_flags flags,
601
size_t size,
602
void *host_ptr,
603
cl_int *errcode_ret);
604
cl_mem CL_API_CALL clCreateImageWithProperties(cl_context context,
605
const cl_mem_properties *properties,
606
cl_mem_flags flags,
607
const cl_image_format *image_format,
608
const cl_image_desc *image_desc,
609
void *host_ptr,
610
cl_int *errcode_ret);
611
612
// cl_khr_icd
613
cl_int CL_API_CALL clIcdGetPlatformIDsKHR(cl_uint num_entries,
614
cl_platform_id *platforms,
615
cl_uint *num_platforms);
616
} // namespace cl
617
618
#endif // LIBGLESV2_ENTRY_POINTS_CL_AUTOGEN_H_
619
620