4
#ifndef OPENCV_CORE_OCL_RUNTIME_OPENCL_CORE_HPP
9
#define clBuildProgram clBuildProgram_
10
#define clCompileProgram clCompileProgram_
11
#define clCreateBuffer clCreateBuffer_
12
#define clCreateCommandQueue clCreateCommandQueue_
13
#define clCreateContext clCreateContext_
14
#define clCreateContextFromType clCreateContextFromType_
15
#define clCreateImage clCreateImage_
16
#define clCreateImage2D clCreateImage2D_
17
#define clCreateImage3D clCreateImage3D_
18
#define clCreateKernel clCreateKernel_
19
#define clCreateKernelsInProgram clCreateKernelsInProgram_
20
#define clCreateProgramWithBinary clCreateProgramWithBinary_
21
#define clCreateProgramWithBuiltInKernels clCreateProgramWithBuiltInKernels_
22
#define clCreateProgramWithSource clCreateProgramWithSource_
23
#define clCreateSampler clCreateSampler_
24
#define clCreateSubBuffer clCreateSubBuffer_
25
#define clCreateSubDevices clCreateSubDevices_
26
#define clCreateUserEvent clCreateUserEvent_
27
#define clEnqueueBarrier clEnqueueBarrier_
28
#define clEnqueueBarrierWithWaitList clEnqueueBarrierWithWaitList_
29
#define clEnqueueCopyBuffer clEnqueueCopyBuffer_
30
#define clEnqueueCopyBufferRect clEnqueueCopyBufferRect_
31
#define clEnqueueCopyBufferToImage clEnqueueCopyBufferToImage_
32
#define clEnqueueCopyImage clEnqueueCopyImage_
33
#define clEnqueueCopyImageToBuffer clEnqueueCopyImageToBuffer_
34
#define clEnqueueFillBuffer clEnqueueFillBuffer_
35
#define clEnqueueFillImage clEnqueueFillImage_
36
#define clEnqueueMapBuffer clEnqueueMapBuffer_
37
#define clEnqueueMapImage clEnqueueMapImage_
38
#define clEnqueueMarker clEnqueueMarker_
39
#define clEnqueueMarkerWithWaitList clEnqueueMarkerWithWaitList_
40
#define clEnqueueMigrateMemObjects clEnqueueMigrateMemObjects_
41
#define clEnqueueNDRangeKernel clEnqueueNDRangeKernel_
42
#define clEnqueueNativeKernel clEnqueueNativeKernel_
43
#define clEnqueueReadBuffer clEnqueueReadBuffer_
44
#define clEnqueueReadBufferRect clEnqueueReadBufferRect_
45
#define clEnqueueReadImage clEnqueueReadImage_
46
#define clEnqueueTask clEnqueueTask_
47
#define clEnqueueUnmapMemObject clEnqueueUnmapMemObject_
48
#define clEnqueueWaitForEvents clEnqueueWaitForEvents_
49
#define clEnqueueWriteBuffer clEnqueueWriteBuffer_
50
#define clEnqueueWriteBufferRect clEnqueueWriteBufferRect_
51
#define clEnqueueWriteImage clEnqueueWriteImage_
52
#define clFinish clFinish_
53
#define clFlush clFlush_
54
#define clGetCommandQueueInfo clGetCommandQueueInfo_
55
#define clGetContextInfo clGetContextInfo_
56
#define clGetDeviceIDs clGetDeviceIDs_
57
#define clGetDeviceInfo clGetDeviceInfo_
58
#define clGetEventInfo clGetEventInfo_
59
#define clGetEventProfilingInfo clGetEventProfilingInfo_
60
#define clGetExtensionFunctionAddress clGetExtensionFunctionAddress_
61
#define clGetExtensionFunctionAddressForPlatform clGetExtensionFunctionAddressForPlatform_
62
#define clGetImageInfo clGetImageInfo_
63
#define clGetKernelArgInfo clGetKernelArgInfo_
64
#define clGetKernelInfo clGetKernelInfo_
65
#define clGetKernelWorkGroupInfo clGetKernelWorkGroupInfo_
66
#define clGetMemObjectInfo clGetMemObjectInfo_
67
#define clGetPlatformIDs clGetPlatformIDs_
68
#define clGetPlatformInfo clGetPlatformInfo_
69
#define clGetProgramBuildInfo clGetProgramBuildInfo_
70
#define clGetProgramInfo clGetProgramInfo_
71
#define clGetSamplerInfo clGetSamplerInfo_
72
#define clGetSupportedImageFormats clGetSupportedImageFormats_
73
#define clLinkProgram clLinkProgram_
74
#define clReleaseCommandQueue clReleaseCommandQueue_
75
#define clReleaseContext clReleaseContext_
76
#define clReleaseDevice clReleaseDevice_
77
#define clReleaseEvent clReleaseEvent_
78
#define clReleaseKernel clReleaseKernel_
79
#define clReleaseMemObject clReleaseMemObject_
80
#define clReleaseProgram clReleaseProgram_
81
#define clReleaseSampler clReleaseSampler_
82
#define clRetainCommandQueue clRetainCommandQueue_
83
#define clRetainContext clRetainContext_
84
#define clRetainDevice clRetainDevice_
85
#define clRetainEvent clRetainEvent_
86
#define clRetainKernel clRetainKernel_
87
#define clRetainMemObject clRetainMemObject_
88
#define clRetainProgram clRetainProgram_
89
#define clRetainSampler clRetainSampler_
90
#define clSetEventCallback clSetEventCallback_
91
#define clSetKernelArg clSetKernelArg_
92
#define clSetMemObjectDestructorCallback clSetMemObjectDestructorCallback_
93
#define clSetUserEventStatus clSetUserEventStatus_
94
#define clUnloadCompiler clUnloadCompiler_
95
#define clUnloadPlatformCompiler clUnloadPlatformCompiler_
96
#define clWaitForEvents clWaitForEvents_
99
#define CL_SILENCE_DEPRECATION
100
#include <OpenCL/cl.h>
106
#undef clBuildProgram
107
#define clBuildProgram clBuildProgram_pfn
108
#undef clCompileProgram
109
#define clCompileProgram clCompileProgram_pfn
110
#undef clCreateBuffer
111
#define clCreateBuffer clCreateBuffer_pfn
112
#undef clCreateCommandQueue
113
#define clCreateCommandQueue clCreateCommandQueue_pfn
114
#undef clCreateContext
115
#define clCreateContext clCreateContext_pfn
116
#undef clCreateContextFromType
117
#define clCreateContextFromType clCreateContextFromType_pfn
119
#define clCreateImage clCreateImage_pfn
120
#undef clCreateImage2D
121
#define clCreateImage2D clCreateImage2D_pfn
122
#undef clCreateImage3D
123
#define clCreateImage3D clCreateImage3D_pfn
124
#undef clCreateKernel
125
#define clCreateKernel clCreateKernel_pfn
126
#undef clCreateKernelsInProgram
127
#define clCreateKernelsInProgram clCreateKernelsInProgram_pfn
128
#undef clCreateProgramWithBinary
129
#define clCreateProgramWithBinary clCreateProgramWithBinary_pfn
130
#undef clCreateProgramWithBuiltInKernels
131
#define clCreateProgramWithBuiltInKernels clCreateProgramWithBuiltInKernels_pfn
132
#undef clCreateProgramWithSource
133
#define clCreateProgramWithSource clCreateProgramWithSource_pfn
134
#undef clCreateSampler
135
#define clCreateSampler clCreateSampler_pfn
136
#undef clCreateSubBuffer
137
#define clCreateSubBuffer clCreateSubBuffer_pfn
138
#undef clCreateSubDevices
139
#define clCreateSubDevices clCreateSubDevices_pfn
140
#undef clCreateUserEvent
141
#define clCreateUserEvent clCreateUserEvent_pfn
142
#undef clEnqueueBarrier
143
#define clEnqueueBarrier clEnqueueBarrier_pfn
144
#undef clEnqueueBarrierWithWaitList
145
#define clEnqueueBarrierWithWaitList clEnqueueBarrierWithWaitList_pfn
146
#undef clEnqueueCopyBuffer
147
#define clEnqueueCopyBuffer clEnqueueCopyBuffer_pfn
148
#undef clEnqueueCopyBufferRect
149
#define clEnqueueCopyBufferRect clEnqueueCopyBufferRect_pfn
150
#undef clEnqueueCopyBufferToImage
151
#define clEnqueueCopyBufferToImage clEnqueueCopyBufferToImage_pfn
152
#undef clEnqueueCopyImage
153
#define clEnqueueCopyImage clEnqueueCopyImage_pfn
154
#undef clEnqueueCopyImageToBuffer
155
#define clEnqueueCopyImageToBuffer clEnqueueCopyImageToBuffer_pfn
156
#undef clEnqueueFillBuffer
157
#define clEnqueueFillBuffer clEnqueueFillBuffer_pfn
158
#undef clEnqueueFillImage
159
#define clEnqueueFillImage clEnqueueFillImage_pfn
160
#undef clEnqueueMapBuffer
161
#define clEnqueueMapBuffer clEnqueueMapBuffer_pfn
162
#undef clEnqueueMapImage
163
#define clEnqueueMapImage clEnqueueMapImage_pfn
164
#undef clEnqueueMarker
165
#define clEnqueueMarker clEnqueueMarker_pfn
166
#undef clEnqueueMarkerWithWaitList
167
#define clEnqueueMarkerWithWaitList clEnqueueMarkerWithWaitList_pfn
168
#undef clEnqueueMigrateMemObjects
169
#define clEnqueueMigrateMemObjects clEnqueueMigrateMemObjects_pfn
170
#undef clEnqueueNDRangeKernel
171
#define clEnqueueNDRangeKernel clEnqueueNDRangeKernel_pfn
172
#undef clEnqueueNativeKernel
173
#define clEnqueueNativeKernel clEnqueueNativeKernel_pfn
174
#undef clEnqueueReadBuffer
175
#define clEnqueueReadBuffer clEnqueueReadBuffer_pfn
176
#undef clEnqueueReadBufferRect
177
#define clEnqueueReadBufferRect clEnqueueReadBufferRect_pfn
178
#undef clEnqueueReadImage
179
#define clEnqueueReadImage clEnqueueReadImage_pfn
181
#define clEnqueueTask clEnqueueTask_pfn
182
#undef clEnqueueUnmapMemObject
183
#define clEnqueueUnmapMemObject clEnqueueUnmapMemObject_pfn
184
#undef clEnqueueWaitForEvents
185
#define clEnqueueWaitForEvents clEnqueueWaitForEvents_pfn
186
#undef clEnqueueWriteBuffer
187
#define clEnqueueWriteBuffer clEnqueueWriteBuffer_pfn
188
#undef clEnqueueWriteBufferRect
189
#define clEnqueueWriteBufferRect clEnqueueWriteBufferRect_pfn
190
#undef clEnqueueWriteImage
191
#define clEnqueueWriteImage clEnqueueWriteImage_pfn
193
#define clFinish clFinish_pfn
195
#define clFlush clFlush_pfn
196
#undef clGetCommandQueueInfo
197
#define clGetCommandQueueInfo clGetCommandQueueInfo_pfn
198
#undef clGetContextInfo
199
#define clGetContextInfo clGetContextInfo_pfn
200
#undef clGetDeviceIDs
201
#define clGetDeviceIDs clGetDeviceIDs_pfn
202
#undef clGetDeviceInfo
203
#define clGetDeviceInfo clGetDeviceInfo_pfn
204
#undef clGetEventInfo
205
#define clGetEventInfo clGetEventInfo_pfn
206
#undef clGetEventProfilingInfo
207
#define clGetEventProfilingInfo clGetEventProfilingInfo_pfn
208
#undef clGetExtensionFunctionAddress
209
#define clGetExtensionFunctionAddress clGetExtensionFunctionAddress_pfn
210
#undef clGetExtensionFunctionAddressForPlatform
211
#define clGetExtensionFunctionAddressForPlatform clGetExtensionFunctionAddressForPlatform_pfn
212
#undef clGetImageInfo
213
#define clGetImageInfo clGetImageInfo_pfn
214
#undef clGetKernelArgInfo
215
#define clGetKernelArgInfo clGetKernelArgInfo_pfn
216
#undef clGetKernelInfo
217
#define clGetKernelInfo clGetKernelInfo_pfn
218
#undef clGetKernelWorkGroupInfo
219
#define clGetKernelWorkGroupInfo clGetKernelWorkGroupInfo_pfn
220
#undef clGetMemObjectInfo
221
#define clGetMemObjectInfo clGetMemObjectInfo_pfn
222
#undef clGetPlatformIDs
223
#define clGetPlatformIDs clGetPlatformIDs_pfn
224
#undef clGetPlatformInfo
225
#define clGetPlatformInfo clGetPlatformInfo_pfn
226
#undef clGetProgramBuildInfo
227
#define clGetProgramBuildInfo clGetProgramBuildInfo_pfn
228
#undef clGetProgramInfo
229
#define clGetProgramInfo clGetProgramInfo_pfn
230
#undef clGetSamplerInfo
231
#define clGetSamplerInfo clGetSamplerInfo_pfn
232
#undef clGetSupportedImageFormats
233
#define clGetSupportedImageFormats clGetSupportedImageFormats_pfn
235
#define clLinkProgram clLinkProgram_pfn
236
#undef clReleaseCommandQueue
237
#define clReleaseCommandQueue clReleaseCommandQueue_pfn
238
#undef clReleaseContext
239
#define clReleaseContext clReleaseContext_pfn
240
#undef clReleaseDevice
241
#define clReleaseDevice clReleaseDevice_pfn
242
#undef clReleaseEvent
243
#define clReleaseEvent clReleaseEvent_pfn
244
#undef clReleaseKernel
245
#define clReleaseKernel clReleaseKernel_pfn
246
#undef clReleaseMemObject
247
#define clReleaseMemObject clReleaseMemObject_pfn
248
#undef clReleaseProgram
249
#define clReleaseProgram clReleaseProgram_pfn
250
#undef clReleaseSampler
251
#define clReleaseSampler clReleaseSampler_pfn
252
#undef clRetainCommandQueue
253
#define clRetainCommandQueue clRetainCommandQueue_pfn
254
#undef clRetainContext
255
#define clRetainContext clRetainContext_pfn
256
#undef clRetainDevice
257
#define clRetainDevice clRetainDevice_pfn
259
#define clRetainEvent clRetainEvent_pfn
260
#undef clRetainKernel
261
#define clRetainKernel clRetainKernel_pfn
262
#undef clRetainMemObject
263
#define clRetainMemObject clRetainMemObject_pfn
264
#undef clRetainProgram
265
#define clRetainProgram clRetainProgram_pfn
266
#undef clRetainSampler
267
#define clRetainSampler clRetainSampler_pfn
268
#undef clSetEventCallback
269
#define clSetEventCallback clSetEventCallback_pfn
270
#undef clSetKernelArg
271
#define clSetKernelArg clSetKernelArg_pfn
272
#undef clSetMemObjectDestructorCallback
273
#define clSetMemObjectDestructorCallback clSetMemObjectDestructorCallback_pfn
274
#undef clSetUserEventStatus
275
#define clSetUserEventStatus clSetUserEventStatus_pfn
276
#undef clUnloadCompiler
277
#define clUnloadCompiler clUnloadCompiler_pfn
278
#undef clUnloadPlatformCompiler
279
#define clUnloadPlatformCompiler clUnloadPlatformCompiler_pfn
280
#undef clWaitForEvents
281
#define clWaitForEvents clWaitForEvents_pfn
284
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clBuildProgram)(cl_program, cl_uint,
const
cl_device_id*,
const
char*, void (CL_CALLBACK*) (cl_program,
void*),
void*);
285
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clCompileProgram)(cl_program, cl_uint,
const
cl_device_id*,
const
char*, cl_uint,
const
cl_program*,
const
char**, void (CL_CALLBACK*) (cl_program,
void*),
void*);
286
extern
CL_RUNTIME_EXPORT cl_mem (CL_API_CALL*clCreateBuffer)(cl_context, cl_mem_flags, size_t,
void*, cl_int*);
287
extern
CL_RUNTIME_EXPORT cl_command_queue (CL_API_CALL*clCreateCommandQueue)(cl_context, cl_device_id, cl_command_queue_properties, cl_int*);
288
extern
CL_RUNTIME_EXPORT cl_context (CL_API_CALL*clCreateContext)(
const
cl_context_properties*, cl_uint,
const
cl_device_id*, void (CL_CALLBACK*) (
const
char*,
const
void*, size_t,
void*),
void*, cl_int*);
289
extern
CL_RUNTIME_EXPORT cl_context (CL_API_CALL*clCreateContextFromType)(
const
cl_context_properties*, cl_device_type, void (CL_CALLBACK*) (
const
char*,
const
void*, size_t,
void*),
void*, cl_int*);
290
extern
CL_RUNTIME_EXPORT cl_mem (CL_API_CALL*clCreateImage)(cl_context, cl_mem_flags,
const
cl_image_format*,
const
cl_image_desc*,
void*, cl_int*);
291
extern
CL_RUNTIME_EXPORT cl_mem (CL_API_CALL*clCreateImage2D)(cl_context, cl_mem_flags,
const
cl_image_format*, size_t, size_t, size_t,
void*, cl_int*);
292
extern
CL_RUNTIME_EXPORT cl_mem (CL_API_CALL*clCreateImage3D)(cl_context, cl_mem_flags,
const
cl_image_format*, size_t, size_t, size_t, size_t, size_t,
void*, cl_int*);
293
extern
CL_RUNTIME_EXPORT cl_kernel (CL_API_CALL*clCreateKernel)(cl_program,
const
char*, cl_int*);
294
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clCreateKernelsInProgram)(cl_program, cl_uint, cl_kernel*, cl_uint*);
295
extern
CL_RUNTIME_EXPORT cl_program (CL_API_CALL*clCreateProgramWithBinary)(cl_context, cl_uint,
const
cl_device_id*,
const
size_t*,
const
unsigned
char**, cl_int*, cl_int*);
296
extern
CL_RUNTIME_EXPORT cl_program (CL_API_CALL*clCreateProgramWithBuiltInKernels)(cl_context, cl_uint,
const
cl_device_id*,
const
char*, cl_int*);
297
extern
CL_RUNTIME_EXPORT cl_program (CL_API_CALL*clCreateProgramWithSource)(cl_context, cl_uint,
const
char**,
const
size_t*, cl_int*);
298
extern
CL_RUNTIME_EXPORT cl_sampler (CL_API_CALL*clCreateSampler)(cl_context, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*);
299
extern
CL_RUNTIME_EXPORT cl_mem (CL_API_CALL*clCreateSubBuffer)(cl_mem, cl_mem_flags, cl_buffer_create_type,
const
void*, cl_int*);
300
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clCreateSubDevices)(cl_device_id,
const
cl_device_partition_property*, cl_uint, cl_device_id*, cl_uint*);
301
extern
CL_RUNTIME_EXPORT cl_event (CL_API_CALL*clCreateUserEvent)(cl_context, cl_int*);
302
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueBarrier)(cl_command_queue);
303
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueBarrierWithWaitList)(cl_command_queue, cl_uint,
const
cl_event*, cl_event*);
304
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueCopyBuffer)(cl_command_queue, cl_mem, cl_mem, size_t, size_t, size_t, cl_uint,
const
cl_event*, cl_event*);
305
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueCopyBufferRect)(cl_command_queue, cl_mem, cl_mem,
const
size_t*,
const
size_t*,
const
size_t*, size_t, size_t, size_t, size_t, cl_uint,
const
cl_event*, cl_event*);
306
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueCopyBufferToImage)(cl_command_queue, cl_mem, cl_mem, size_t,
const
size_t*,
const
size_t*, cl_uint,
const
cl_event*, cl_event*);
307
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueCopyImage)(cl_command_queue, cl_mem, cl_mem,
const
size_t*,
const
size_t*,
const
size_t*, cl_uint,
const
cl_event*, cl_event*);
308
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueCopyImageToBuffer)(cl_command_queue, cl_mem, cl_mem,
const
size_t*,
const
size_t*, size_t, cl_uint,
const
cl_event*, cl_event*);
309
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueFillBuffer)(cl_command_queue, cl_mem,
const
void*, size_t, size_t, size_t, cl_uint,
const
cl_event*, cl_event*);
310
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueFillImage)(cl_command_queue, cl_mem,
const
void*,
const
size_t*,
const
size_t*, cl_uint,
const
cl_event*, cl_event*);
311
extern
CL_RUNTIME_EXPORT
void* (CL_API_CALL*clEnqueueMapBuffer)(cl_command_queue, cl_mem, cl_bool, cl_map_flags,
size_t,
size_t, cl_uint,
const
cl_event*, cl_event*, cl_int*);
312
extern
CL_RUNTIME_EXPORT
void* (CL_API_CALL*clEnqueueMapImage)(cl_command_queue, cl_mem, cl_bool, cl_map_flags,
const
size_t*,
const
size_t*,
size_t*,
size_t*, cl_uint,
const
cl_event*, cl_event*, cl_int*);
313
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueMarker)(cl_command_queue, cl_event*);
314
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueMarkerWithWaitList)(cl_command_queue, cl_uint,
const
cl_event*, cl_event*);
315
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueMigrateMemObjects)(cl_command_queue, cl_uint,
const
cl_mem*, cl_mem_migration_flags, cl_uint,
const
cl_event*, cl_event*);
316
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueNDRangeKernel)(cl_command_queue, cl_kernel, cl_uint,
const
size_t*,
const
size_t*,
const
size_t*, cl_uint,
const
cl_event*, cl_event*);
317
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueNativeKernel)(cl_command_queue, void (CL_CALLBACK*) (
void*),
void*,
size_t, cl_uint,
const
cl_mem*,
const
void**, cl_uint,
const
cl_event*, cl_event*);
318
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueReadBuffer)(cl_command_queue, cl_mem, cl_bool, size_t, size_t,
void*, cl_uint,
const
cl_event*, cl_event*);
319
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueReadBufferRect)(cl_command_queue, cl_mem, cl_bool,
const
size_t*,
const
size_t*,
const
size_t*, size_t, size_t, size_t, size_t,
void*, cl_uint,
const
cl_event*, cl_event*);
320
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueReadImage)(cl_command_queue, cl_mem, cl_bool,
const
size_t*,
const
size_t*, size_t, size_t,
void*, cl_uint,
const
cl_event*, cl_event*);
321
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueTask)(cl_command_queue, cl_kernel, cl_uint,
const
cl_event*, cl_event*);
322
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueUnmapMemObject)(cl_command_queue, cl_mem,
void*, cl_uint,
const
cl_event*, cl_event*);
323
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueWaitForEvents)(cl_command_queue, cl_uint,
const
cl_event*);
324
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueWriteBuffer)(cl_command_queue, cl_mem, cl_bool, size_t, size_t,
const
void*, cl_uint,
const
cl_event*, cl_event*);
325
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueWriteBufferRect)(cl_command_queue, cl_mem, cl_bool,
const
size_t*,
const
size_t*,
const
size_t*, size_t, size_t, size_t, size_t,
const
void*, cl_uint,
const
cl_event*, cl_event*);
326
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueWriteImage)(cl_command_queue, cl_mem, cl_bool,
const
size_t*,
const
size_t*, size_t, size_t,
const
void*, cl_uint,
const
cl_event*, cl_event*);
327
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clFinish)(cl_command_queue);
328
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clFlush)(cl_command_queue);
329
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetCommandQueueInfo)(cl_command_queue, cl_command_queue_info, size_t,
void*,
size_t*);
330
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetContextInfo)(cl_context, cl_context_info, size_t,
void*,
size_t*);
331
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetDeviceIDs)(cl_platform_id, cl_device_type, cl_uint, cl_device_id*, cl_uint*);
332
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetDeviceInfo)(cl_device_id, cl_device_info, size_t,
void*,
size_t*);
333
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetEventInfo)(cl_event, cl_event_info, size_t,
void*,
size_t*);
334
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetEventProfilingInfo)(cl_event, cl_profiling_info, size_t,
void*,
size_t*);
335
extern
CL_RUNTIME_EXPORT
void* (CL_API_CALL*clGetExtensionFunctionAddress)(
const
char*);
336
extern
CL_RUNTIME_EXPORT
void* (CL_API_CALL*clGetExtensionFunctionAddressForPlatform)(cl_platform_id,
const
char*);
337
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetImageInfo)(cl_mem, cl_image_info, size_t,
void*,
size_t*);
338
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetKernelArgInfo)(cl_kernel, cl_uint, cl_kernel_arg_info, size_t,
void*,
size_t*);
339
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetKernelInfo)(cl_kernel, cl_kernel_info, size_t,
void*,
size_t*);
340
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetKernelWorkGroupInfo)(cl_kernel, cl_device_id, cl_kernel_work_group_info, size_t,
void*,
size_t*);
341
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetMemObjectInfo)(cl_mem, cl_mem_info, size_t,
void*,
size_t*);
342
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetPlatformIDs)(cl_uint, cl_platform_id*, cl_uint*);
343
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetPlatformInfo)(cl_platform_id, cl_platform_info, size_t,
void*,
size_t*);
344
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetProgramBuildInfo)(cl_program, cl_device_id, cl_program_build_info, size_t,
void*,
size_t*);
345
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetProgramInfo)(cl_program, cl_program_info, size_t,
void*,
size_t*);
346
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetSamplerInfo)(cl_sampler, cl_sampler_info, size_t,
void*,
size_t*);
347
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetSupportedImageFormats)(cl_context, cl_mem_flags, cl_mem_object_type, cl_uint, cl_image_format*, cl_uint*);
348
extern
CL_RUNTIME_EXPORT cl_program (CL_API_CALL*clLinkProgram)(cl_context, cl_uint,
const
cl_device_id*,
const
char*, cl_uint,
const
cl_program*, void (CL_CALLBACK*) (cl_program,
void*),
void*, cl_int*);
349
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseCommandQueue)(cl_command_queue);
350
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseContext)(cl_context);
351
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseDevice)(cl_device_id);
352
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseEvent)(cl_event);
353
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseKernel)(cl_kernel);
354
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseMemObject)(cl_mem);
355
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseProgram)(cl_program);
356
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseSampler)(cl_sampler);
357
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainCommandQueue)(cl_command_queue);
358
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainContext)(cl_context);
359
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainDevice)(cl_device_id);
360
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainEvent)(cl_event);
361
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainKernel)(cl_kernel);
362
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainMemObject)(cl_mem);
363
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainProgram)(cl_program);
364
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainSampler)(cl_sampler);
365
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clSetEventCallback)(cl_event, cl_int, void (CL_CALLBACK*) (cl_event, cl_int,
void*),
void*);
366
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clSetKernelArg)(cl_kernel, cl_uint, size_t,
const
void*);
367
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clSetMemObjectDestructorCallback)(cl_mem, void (CL_CALLBACK*) (cl_mem,
void*),
void*);
368
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clSetUserEventStatus)(cl_event, cl_int);
369
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clUnloadCompiler)();
370
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clUnloadPlatformCompiler)(cl_platform_id);
371
extern
CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clWaitForEvents)(cl_uint,
const
cl_event*);