1 //
2 // AUTOGENERATED, DO NOT EDIT
3 //
4 #ifndef __OPENCV_CORE_OCL_RUNTIME_OPENCL_CORE_HPP__
5 #error "Invalid usage"
6 #endif
7 
8 // generated by parser_cl.py
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_
97 
98 #if defined __APPLE__
99 #include <OpenCL/cl.h>
100 #else
101 #include <CL/cl.h>
102 #endif
103 
104 // generated by parser_cl.py
105 #undef clBuildProgram
106 #define clBuildProgram clBuildProgram_pfn
107 #undef clCompileProgram
108 #define clCompileProgram clCompileProgram_pfn
109 #undef clCreateBuffer
110 #define clCreateBuffer clCreateBuffer_pfn
111 #undef clCreateCommandQueue
112 #define clCreateCommandQueue clCreateCommandQueue_pfn
113 #undef clCreateContext
114 #define clCreateContext clCreateContext_pfn
115 #undef clCreateContextFromType
116 #define clCreateContextFromType clCreateContextFromType_pfn
117 #undef clCreateImage
118 #define clCreateImage clCreateImage_pfn
119 #undef clCreateImage2D
120 #define clCreateImage2D clCreateImage2D_pfn
121 #undef clCreateImage3D
122 #define clCreateImage3D clCreateImage3D_pfn
123 #undef clCreateKernel
124 #define clCreateKernel clCreateKernel_pfn
125 #undef clCreateKernelsInProgram
126 #define clCreateKernelsInProgram clCreateKernelsInProgram_pfn
127 #undef clCreateProgramWithBinary
128 #define clCreateProgramWithBinary clCreateProgramWithBinary_pfn
129 #undef clCreateProgramWithBuiltInKernels
130 #define clCreateProgramWithBuiltInKernels clCreateProgramWithBuiltInKernels_pfn
131 #undef clCreateProgramWithSource
132 #define clCreateProgramWithSource clCreateProgramWithSource_pfn
133 #undef clCreateSampler
134 #define clCreateSampler clCreateSampler_pfn
135 #undef clCreateSubBuffer
136 #define clCreateSubBuffer clCreateSubBuffer_pfn
137 #undef clCreateSubDevices
138 #define clCreateSubDevices clCreateSubDevices_pfn
139 #undef clCreateUserEvent
140 #define clCreateUserEvent clCreateUserEvent_pfn
141 #undef clEnqueueBarrier
142 #define clEnqueueBarrier clEnqueueBarrier_pfn
143 #undef clEnqueueBarrierWithWaitList
144 #define clEnqueueBarrierWithWaitList clEnqueueBarrierWithWaitList_pfn
145 #undef clEnqueueCopyBuffer
146 #define clEnqueueCopyBuffer clEnqueueCopyBuffer_pfn
147 #undef clEnqueueCopyBufferRect
148 #define clEnqueueCopyBufferRect clEnqueueCopyBufferRect_pfn
149 #undef clEnqueueCopyBufferToImage
150 #define clEnqueueCopyBufferToImage clEnqueueCopyBufferToImage_pfn
151 #undef clEnqueueCopyImage
152 #define clEnqueueCopyImage clEnqueueCopyImage_pfn
153 #undef clEnqueueCopyImageToBuffer
154 #define clEnqueueCopyImageToBuffer clEnqueueCopyImageToBuffer_pfn
155 #undef clEnqueueFillBuffer
156 #define clEnqueueFillBuffer clEnqueueFillBuffer_pfn
157 #undef clEnqueueFillImage
158 #define clEnqueueFillImage clEnqueueFillImage_pfn
159 #undef clEnqueueMapBuffer
160 #define clEnqueueMapBuffer clEnqueueMapBuffer_pfn
161 #undef clEnqueueMapImage
162 #define clEnqueueMapImage clEnqueueMapImage_pfn
163 #undef clEnqueueMarker
164 #define clEnqueueMarker clEnqueueMarker_pfn
165 #undef clEnqueueMarkerWithWaitList
166 #define clEnqueueMarkerWithWaitList clEnqueueMarkerWithWaitList_pfn
167 #undef clEnqueueMigrateMemObjects
168 #define clEnqueueMigrateMemObjects clEnqueueMigrateMemObjects_pfn
169 #undef clEnqueueNDRangeKernel
170 #define clEnqueueNDRangeKernel clEnqueueNDRangeKernel_pfn
171 #undef clEnqueueNativeKernel
172 #define clEnqueueNativeKernel clEnqueueNativeKernel_pfn
173 #undef clEnqueueReadBuffer
174 #define clEnqueueReadBuffer clEnqueueReadBuffer_pfn
175 #undef clEnqueueReadBufferRect
176 #define clEnqueueReadBufferRect clEnqueueReadBufferRect_pfn
177 #undef clEnqueueReadImage
178 #define clEnqueueReadImage clEnqueueReadImage_pfn
179 #undef clEnqueueTask
180 #define clEnqueueTask clEnqueueTask_pfn
181 #undef clEnqueueUnmapMemObject
182 #define clEnqueueUnmapMemObject clEnqueueUnmapMemObject_pfn
183 #undef clEnqueueWaitForEvents
184 #define clEnqueueWaitForEvents clEnqueueWaitForEvents_pfn
185 #undef clEnqueueWriteBuffer
186 #define clEnqueueWriteBuffer clEnqueueWriteBuffer_pfn
187 #undef clEnqueueWriteBufferRect
188 #define clEnqueueWriteBufferRect clEnqueueWriteBufferRect_pfn
189 #undef clEnqueueWriteImage
190 #define clEnqueueWriteImage clEnqueueWriteImage_pfn
191 #undef clFinish
192 #define clFinish clFinish_pfn
193 #undef clFlush
194 #define clFlush clFlush_pfn
195 #undef clGetCommandQueueInfo
196 #define clGetCommandQueueInfo clGetCommandQueueInfo_pfn
197 #undef clGetContextInfo
198 #define clGetContextInfo clGetContextInfo_pfn
199 #undef clGetDeviceIDs
200 #define clGetDeviceIDs clGetDeviceIDs_pfn
201 #undef clGetDeviceInfo
202 #define clGetDeviceInfo clGetDeviceInfo_pfn
203 #undef clGetEventInfo
204 #define clGetEventInfo clGetEventInfo_pfn
205 #undef clGetEventProfilingInfo
206 #define clGetEventProfilingInfo clGetEventProfilingInfo_pfn
207 #undef clGetExtensionFunctionAddress
208 #define clGetExtensionFunctionAddress clGetExtensionFunctionAddress_pfn
209 #undef clGetExtensionFunctionAddressForPlatform
210 #define clGetExtensionFunctionAddressForPlatform clGetExtensionFunctionAddressForPlatform_pfn
211 #undef clGetImageInfo
212 #define clGetImageInfo clGetImageInfo_pfn
213 #undef clGetKernelArgInfo
214 #define clGetKernelArgInfo clGetKernelArgInfo_pfn
215 #undef clGetKernelInfo
216 #define clGetKernelInfo clGetKernelInfo_pfn
217 #undef clGetKernelWorkGroupInfo
218 #define clGetKernelWorkGroupInfo clGetKernelWorkGroupInfo_pfn
219 #undef clGetMemObjectInfo
220 #define clGetMemObjectInfo clGetMemObjectInfo_pfn
221 #undef clGetPlatformIDs
222 #define clGetPlatformIDs clGetPlatformIDs_pfn
223 #undef clGetPlatformInfo
224 #define clGetPlatformInfo clGetPlatformInfo_pfn
225 #undef clGetProgramBuildInfo
226 #define clGetProgramBuildInfo clGetProgramBuildInfo_pfn
227 #undef clGetProgramInfo
228 #define clGetProgramInfo clGetProgramInfo_pfn
229 #undef clGetSamplerInfo
230 #define clGetSamplerInfo clGetSamplerInfo_pfn
231 #undef clGetSupportedImageFormats
232 #define clGetSupportedImageFormats clGetSupportedImageFormats_pfn
233 #undef clLinkProgram
234 #define clLinkProgram clLinkProgram_pfn
235 #undef clReleaseCommandQueue
236 #define clReleaseCommandQueue clReleaseCommandQueue_pfn
237 #undef clReleaseContext
238 #define clReleaseContext clReleaseContext_pfn
239 #undef clReleaseDevice
240 #define clReleaseDevice clReleaseDevice_pfn
241 #undef clReleaseEvent
242 #define clReleaseEvent clReleaseEvent_pfn
243 #undef clReleaseKernel
244 #define clReleaseKernel clReleaseKernel_pfn
245 #undef clReleaseMemObject
246 #define clReleaseMemObject clReleaseMemObject_pfn
247 #undef clReleaseProgram
248 #define clReleaseProgram clReleaseProgram_pfn
249 #undef clReleaseSampler
250 #define clReleaseSampler clReleaseSampler_pfn
251 #undef clRetainCommandQueue
252 #define clRetainCommandQueue clRetainCommandQueue_pfn
253 #undef clRetainContext
254 #define clRetainContext clRetainContext_pfn
255 #undef clRetainDevice
256 #define clRetainDevice clRetainDevice_pfn
257 #undef clRetainEvent
258 #define clRetainEvent clRetainEvent_pfn
259 #undef clRetainKernel
260 #define clRetainKernel clRetainKernel_pfn
261 #undef clRetainMemObject
262 #define clRetainMemObject clRetainMemObject_pfn
263 #undef clRetainProgram
264 #define clRetainProgram clRetainProgram_pfn
265 #undef clRetainSampler
266 #define clRetainSampler clRetainSampler_pfn
267 #undef clSetEventCallback
268 #define clSetEventCallback clSetEventCallback_pfn
269 #undef clSetKernelArg
270 #define clSetKernelArg clSetKernelArg_pfn
271 #undef clSetMemObjectDestructorCallback
272 #define clSetMemObjectDestructorCallback clSetMemObjectDestructorCallback_pfn
273 #undef clSetUserEventStatus
274 #define clSetUserEventStatus clSetUserEventStatus_pfn
275 #undef clUnloadCompiler
276 #define clUnloadCompiler clUnloadCompiler_pfn
277 #undef clUnloadPlatformCompiler
278 #define clUnloadPlatformCompiler clUnloadPlatformCompiler_pfn
279 #undef clWaitForEvents
280 #define clWaitForEvents clWaitForEvents_pfn
281 
282 // generated by parser_cl.py
283 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*);
284 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*);
285 extern CL_RUNTIME_EXPORT cl_mem (CL_API_CALL*clCreateBuffer)(cl_context, cl_mem_flags, size_t, void*, cl_int*);
286 extern CL_RUNTIME_EXPORT cl_command_queue (CL_API_CALL*clCreateCommandQueue)(cl_context, cl_device_id, cl_command_queue_properties, cl_int*);
287 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*);
288 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*);
289 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*);
290 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*);
291 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*);
292 extern CL_RUNTIME_EXPORT cl_kernel (CL_API_CALL*clCreateKernel)(cl_program, const char*, cl_int*);
293 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clCreateKernelsInProgram)(cl_program, cl_uint, cl_kernel*, cl_uint*);
294 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*);
295 extern CL_RUNTIME_EXPORT cl_program (CL_API_CALL*clCreateProgramWithBuiltInKernels)(cl_context, cl_uint, const cl_device_id*, const char*, cl_int*);
296 extern CL_RUNTIME_EXPORT cl_program (CL_API_CALL*clCreateProgramWithSource)(cl_context, cl_uint, const char**, const size_t*, cl_int*);
297 extern CL_RUNTIME_EXPORT cl_sampler (CL_API_CALL*clCreateSampler)(cl_context, cl_bool, cl_addressing_mode, cl_filter_mode, cl_int*);
298 extern CL_RUNTIME_EXPORT cl_mem (CL_API_CALL*clCreateSubBuffer)(cl_mem, cl_mem_flags, cl_buffer_create_type, const void*, cl_int*);
299 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*);
300 extern CL_RUNTIME_EXPORT cl_event (CL_API_CALL*clCreateUserEvent)(cl_context, cl_int*);
301 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueBarrier)(cl_command_queue);
302 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueBarrierWithWaitList)(cl_command_queue, cl_uint, const cl_event*, cl_event*);
303 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*);
304 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*);
305 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*);
306 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*);
307 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*);
308 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*);
309 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*);
310 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*);
311 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*);
312 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueMarker)(cl_command_queue, cl_event*);
313 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueMarkerWithWaitList)(cl_command_queue, cl_uint, const cl_event*, cl_event*);
314 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*);
315 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*);
316 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*);
317 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*);
318 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*);
319 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*);
320 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueTask)(cl_command_queue, cl_kernel, cl_uint, const cl_event*, cl_event*);
321 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueUnmapMemObject)(cl_command_queue, cl_mem, void*, cl_uint, const cl_event*, cl_event*);
322 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clEnqueueWaitForEvents)(cl_command_queue, cl_uint, const cl_event*);
323 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*);
324 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*);
325 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*);
326 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clFinish)(cl_command_queue);
327 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clFlush)(cl_command_queue);
328 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetCommandQueueInfo)(cl_command_queue, cl_command_queue_info, size_t, void*, size_t*);
329 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetContextInfo)(cl_context, cl_context_info, size_t, void*, size_t*);
330 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetDeviceIDs)(cl_platform_id, cl_device_type, cl_uint, cl_device_id*, cl_uint*);
331 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetDeviceInfo)(cl_device_id, cl_device_info, size_t, void*, size_t*);
332 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetEventInfo)(cl_event, cl_event_info, size_t, void*, size_t*);
333 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetEventProfilingInfo)(cl_event, cl_profiling_info, size_t, void*, size_t*);
334 extern CL_RUNTIME_EXPORT void* (CL_API_CALL*clGetExtensionFunctionAddress)(const char*);
335 extern CL_RUNTIME_EXPORT void* (CL_API_CALL*clGetExtensionFunctionAddressForPlatform)(cl_platform_id, const char*);
336 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetImageInfo)(cl_mem, cl_image_info, size_t, void*, size_t*);
337 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetKernelArgInfo)(cl_kernel, cl_uint, cl_kernel_arg_info, size_t, void*, size_t*);
338 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetKernelInfo)(cl_kernel, cl_kernel_info, size_t, void*, size_t*);
339 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*);
340 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetMemObjectInfo)(cl_mem, cl_mem_info, size_t, void*, size_t*);
341 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetPlatformIDs)(cl_uint, cl_platform_id*, cl_uint*);
342 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetPlatformInfo)(cl_platform_id, cl_platform_info, size_t, void*, size_t*);
343 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetProgramBuildInfo)(cl_program, cl_device_id, cl_program_build_info, size_t, void*, size_t*);
344 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetProgramInfo)(cl_program, cl_program_info, size_t, void*, size_t*);
345 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clGetSamplerInfo)(cl_sampler, cl_sampler_info, size_t, void*, size_t*);
346 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*);
347 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*);
348 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseCommandQueue)(cl_command_queue);
349 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseContext)(cl_context);
350 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseDevice)(cl_device_id);
351 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseEvent)(cl_event);
352 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseKernel)(cl_kernel);
353 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseMemObject)(cl_mem);
354 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseProgram)(cl_program);
355 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clReleaseSampler)(cl_sampler);
356 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainCommandQueue)(cl_command_queue);
357 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainContext)(cl_context);
358 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainDevice)(cl_device_id);
359 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainEvent)(cl_event);
360 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainKernel)(cl_kernel);
361 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainMemObject)(cl_mem);
362 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainProgram)(cl_program);
363 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clRetainSampler)(cl_sampler);
364 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clSetEventCallback)(cl_event, cl_int, void (CL_CALLBACK*) (cl_event, cl_int, void*), void*);
365 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clSetKernelArg)(cl_kernel, cl_uint, size_t, const void*);
366 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clSetMemObjectDestructorCallback)(cl_mem, void (CL_CALLBACK*) (cl_mem, void*), void*);
367 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clSetUserEventStatus)(cl_event, cl_int);
368 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clUnloadCompiler)();
369 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clUnloadPlatformCompiler)(cl_platform_id);
370 extern CL_RUNTIME_EXPORT cl_int (CL_API_CALL*clWaitForEvents)(cl_uint, const cl_event*);
371