ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/OpenCL/constiv.h
Revision: 1.4
Committed: Sat Apr 21 18:22:55 2012 UTC (12 years ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rel-0_97, rel-0_98, rel-0_99
Changes since 1.3: +258 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.3 #ifdef CL_SUCCESS
2 root 1.1 const_iv(SUCCESS)
3 root 1.3 #endif
4     #ifdef CL_DEVICE_NOT_FOUND
5 root 1.1 const_iv(DEVICE_NOT_FOUND)
6 root 1.3 #endif
7     #ifdef CL_DEVICE_NOT_AVAILABLE
8 root 1.1 const_iv(DEVICE_NOT_AVAILABLE)
9 root 1.3 #endif
10     #ifdef CL_COMPILER_NOT_AVAILABLE
11 root 1.1 const_iv(COMPILER_NOT_AVAILABLE)
12 root 1.3 #endif
13     #ifdef CL_MEM_OBJECT_ALLOCATION_FAILURE
14 root 1.1 const_iv(MEM_OBJECT_ALLOCATION_FAILURE)
15 root 1.3 #endif
16     #ifdef CL_OUT_OF_RESOURCES
17 root 1.1 const_iv(OUT_OF_RESOURCES)
18 root 1.3 #endif
19     #ifdef CL_OUT_OF_HOST_MEMORY
20 root 1.1 const_iv(OUT_OF_HOST_MEMORY)
21 root 1.3 #endif
22     #ifdef CL_PROFILING_INFO_NOT_AVAILABLE
23 root 1.1 const_iv(PROFILING_INFO_NOT_AVAILABLE)
24 root 1.3 #endif
25     #ifdef CL_MEM_COPY_OVERLAP
26 root 1.1 const_iv(MEM_COPY_OVERLAP)
27 root 1.3 #endif
28     #ifdef CL_IMAGE_FORMAT_MISMATCH
29 root 1.1 const_iv(IMAGE_FORMAT_MISMATCH)
30 root 1.3 #endif
31     #ifdef CL_IMAGE_FORMAT_NOT_SUPPORTED
32 root 1.1 const_iv(IMAGE_FORMAT_NOT_SUPPORTED)
33 root 1.3 #endif
34     #ifdef CL_BUILD_PROGRAM_FAILURE
35 root 1.1 const_iv(BUILD_PROGRAM_FAILURE)
36 root 1.3 #endif
37     #ifdef CL_MAP_FAILURE
38 root 1.1 const_iv(MAP_FAILURE)
39 root 1.3 #endif
40     #ifdef CL_MISALIGNED_SUB_BUFFER_OFFSET
41 root 1.1 const_iv(MISALIGNED_SUB_BUFFER_OFFSET)
42 root 1.3 #endif
43     #ifdef CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST
44 root 1.1 const_iv(EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)
45 root 1.3 #endif
46 root 1.4 #ifdef CL_COMPILE_PROGRAM_FAILURE
47     const_iv(COMPILE_PROGRAM_FAILURE)
48     #endif
49     #ifdef CL_LINKER_NOT_AVAILABLE
50     const_iv(LINKER_NOT_AVAILABLE)
51     #endif
52     #ifdef CL_LINK_PROGRAM_FAILURE
53     const_iv(LINK_PROGRAM_FAILURE)
54     #endif
55     #ifdef CL_DEVICE_PARTITION_FAILED
56     const_iv(DEVICE_PARTITION_FAILED)
57     #endif
58     #ifdef CL_KERNEL_ARG_INFO_NOT_AVAILABLE
59     const_iv(KERNEL_ARG_INFO_NOT_AVAILABLE)
60     #endif
61 root 1.3 #ifdef CL_INVALID_VALUE
62 root 1.1 const_iv(INVALID_VALUE)
63 root 1.3 #endif
64     #ifdef CL_INVALID_DEVICE_TYPE
65 root 1.1 const_iv(INVALID_DEVICE_TYPE)
66 root 1.3 #endif
67     #ifdef CL_INVALID_PLATFORM
68 root 1.1 const_iv(INVALID_PLATFORM)
69 root 1.3 #endif
70     #ifdef CL_INVALID_DEVICE
71 root 1.1 const_iv(INVALID_DEVICE)
72 root 1.3 #endif
73     #ifdef CL_INVALID_CONTEXT
74 root 1.1 const_iv(INVALID_CONTEXT)
75 root 1.3 #endif
76     #ifdef CL_INVALID_QUEUE_PROPERTIES
77 root 1.1 const_iv(INVALID_QUEUE_PROPERTIES)
78 root 1.3 #endif
79     #ifdef CL_INVALID_COMMAND_QUEUE
80 root 1.1 const_iv(INVALID_COMMAND_QUEUE)
81 root 1.3 #endif
82     #ifdef CL_INVALID_HOST_PTR
83 root 1.1 const_iv(INVALID_HOST_PTR)
84 root 1.3 #endif
85     #ifdef CL_INVALID_MEM_OBJECT
86 root 1.1 const_iv(INVALID_MEM_OBJECT)
87 root 1.3 #endif
88     #ifdef CL_INVALID_IMAGE_FORMAT_DESCRIPTOR
89 root 1.1 const_iv(INVALID_IMAGE_FORMAT_DESCRIPTOR)
90 root 1.3 #endif
91     #ifdef CL_INVALID_IMAGE_SIZE
92 root 1.1 const_iv(INVALID_IMAGE_SIZE)
93 root 1.3 #endif
94     #ifdef CL_INVALID_SAMPLER
95 root 1.1 const_iv(INVALID_SAMPLER)
96 root 1.3 #endif
97     #ifdef CL_INVALID_BINARY
98 root 1.1 const_iv(INVALID_BINARY)
99 root 1.3 #endif
100     #ifdef CL_INVALID_BUILD_OPTIONS
101 root 1.1 const_iv(INVALID_BUILD_OPTIONS)
102 root 1.3 #endif
103     #ifdef CL_INVALID_PROGRAM
104 root 1.1 const_iv(INVALID_PROGRAM)
105 root 1.3 #endif
106     #ifdef CL_INVALID_PROGRAM_EXECUTABLE
107 root 1.1 const_iv(INVALID_PROGRAM_EXECUTABLE)
108 root 1.3 #endif
109     #ifdef CL_INVALID_KERNEL_NAME
110 root 1.1 const_iv(INVALID_KERNEL_NAME)
111 root 1.3 #endif
112     #ifdef CL_INVALID_KERNEL_DEFINITION
113 root 1.1 const_iv(INVALID_KERNEL_DEFINITION)
114 root 1.3 #endif
115     #ifdef CL_INVALID_KERNEL
116 root 1.1 const_iv(INVALID_KERNEL)
117 root 1.3 #endif
118     #ifdef CL_INVALID_ARG_INDEX
119 root 1.1 const_iv(INVALID_ARG_INDEX)
120 root 1.3 #endif
121     #ifdef CL_INVALID_ARG_VALUE
122 root 1.1 const_iv(INVALID_ARG_VALUE)
123 root 1.3 #endif
124     #ifdef CL_INVALID_ARG_SIZE
125 root 1.1 const_iv(INVALID_ARG_SIZE)
126 root 1.3 #endif
127     #ifdef CL_INVALID_KERNEL_ARGS
128 root 1.1 const_iv(INVALID_KERNEL_ARGS)
129 root 1.3 #endif
130     #ifdef CL_INVALID_WORK_DIMENSION
131 root 1.1 const_iv(INVALID_WORK_DIMENSION)
132 root 1.3 #endif
133     #ifdef CL_INVALID_WORK_GROUP_SIZE
134 root 1.1 const_iv(INVALID_WORK_GROUP_SIZE)
135 root 1.3 #endif
136     #ifdef CL_INVALID_WORK_ITEM_SIZE
137 root 1.1 const_iv(INVALID_WORK_ITEM_SIZE)
138 root 1.3 #endif
139     #ifdef CL_INVALID_GLOBAL_OFFSET
140 root 1.1 const_iv(INVALID_GLOBAL_OFFSET)
141 root 1.3 #endif
142     #ifdef CL_INVALID_EVENT_WAIT_LIST
143 root 1.1 const_iv(INVALID_EVENT_WAIT_LIST)
144 root 1.3 #endif
145     #ifdef CL_INVALID_EVENT
146 root 1.1 const_iv(INVALID_EVENT)
147 root 1.3 #endif
148     #ifdef CL_INVALID_OPERATION
149 root 1.1 const_iv(INVALID_OPERATION)
150 root 1.3 #endif
151     #ifdef CL_INVALID_GL_OBJECT
152 root 1.1 const_iv(INVALID_GL_OBJECT)
153 root 1.3 #endif
154     #ifdef CL_INVALID_BUFFER_SIZE
155 root 1.1 const_iv(INVALID_BUFFER_SIZE)
156 root 1.3 #endif
157     #ifdef CL_INVALID_MIP_LEVEL
158 root 1.1 const_iv(INVALID_MIP_LEVEL)
159 root 1.3 #endif
160     #ifdef CL_INVALID_GLOBAL_WORK_SIZE
161 root 1.1 const_iv(INVALID_GLOBAL_WORK_SIZE)
162 root 1.3 #endif
163     #ifdef CL_INVALID_PROPERTY
164 root 1.1 const_iv(INVALID_PROPERTY)
165 root 1.3 #endif
166 root 1.4 #ifdef CL_INVALID_IMAGE_DESCRIPTOR
167     const_iv(INVALID_IMAGE_DESCRIPTOR)
168     #endif
169     #ifdef CL_INVALID_COMPILER_OPTIONS
170     const_iv(INVALID_COMPILER_OPTIONS)
171     #endif
172     #ifdef CL_INVALID_LINKER_OPTIONS
173     const_iv(INVALID_LINKER_OPTIONS)
174     #endif
175     #ifdef CL_INVALID_DEVICE_PARTITION_COUNT
176     const_iv(INVALID_DEVICE_PARTITION_COUNT)
177     #endif
178 root 1.3 #ifdef CL_VERSION_1_0
179 root 1.1 const_iv(VERSION_1_0)
180 root 1.3 #endif
181     #ifdef CL_VERSION_1_1
182 root 1.1 const_iv(VERSION_1_1)
183 root 1.3 #endif
184 root 1.4 #ifdef CL_VERSION_1_2
185     const_iv(VERSION_1_2)
186     #endif
187 root 1.3 #ifdef CL_FALSE
188 root 1.1 const_iv(FALSE)
189 root 1.3 #endif
190     #ifdef CL_TRUE
191 root 1.1 const_iv(TRUE)
192 root 1.3 #endif
193 root 1.4 #ifdef CL_BLOCKING
194     const_iv(BLOCKING)
195     #endif
196     #ifdef CL_NON_BLOCKING
197     const_iv(NON_BLOCKING)
198     #endif
199 root 1.3 #ifdef CL_PLATFORM_PROFILE
200 root 1.1 const_iv(PLATFORM_PROFILE)
201 root 1.3 #endif
202     #ifdef CL_PLATFORM_VERSION
203 root 1.1 const_iv(PLATFORM_VERSION)
204 root 1.3 #endif
205     #ifdef CL_PLATFORM_NAME
206 root 1.1 const_iv(PLATFORM_NAME)
207 root 1.3 #endif
208     #ifdef CL_PLATFORM_VENDOR
209 root 1.1 const_iv(PLATFORM_VENDOR)
210 root 1.3 #endif
211     #ifdef CL_PLATFORM_EXTENSIONS
212 root 1.1 const_iv(PLATFORM_EXTENSIONS)
213 root 1.3 #endif
214     #ifdef CL_DEVICE_TYPE_DEFAULT
215 root 1.1 const_iv(DEVICE_TYPE_DEFAULT)
216 root 1.3 #endif
217     #ifdef CL_DEVICE_TYPE_CPU
218 root 1.1 const_iv(DEVICE_TYPE_CPU)
219 root 1.3 #endif
220     #ifdef CL_DEVICE_TYPE_GPU
221 root 1.1 const_iv(DEVICE_TYPE_GPU)
222 root 1.3 #endif
223     #ifdef CL_DEVICE_TYPE_ACCELERATOR
224 root 1.1 const_iv(DEVICE_TYPE_ACCELERATOR)
225 root 1.3 #endif
226 root 1.4 #ifdef CL_DEVICE_TYPE_CUSTOM
227     const_iv(DEVICE_TYPE_CUSTOM)
228     #endif
229 root 1.3 #ifdef CL_DEVICE_TYPE_ALL
230 root 1.1 const_iv(DEVICE_TYPE_ALL)
231 root 1.3 #endif
232     #ifdef CL_DEVICE_TYPE
233 root 1.1 const_iv(DEVICE_TYPE)
234 root 1.3 #endif
235     #ifdef CL_DEVICE_VENDOR_ID
236 root 1.1 const_iv(DEVICE_VENDOR_ID)
237 root 1.3 #endif
238     #ifdef CL_DEVICE_MAX_COMPUTE_UNITS
239 root 1.1 const_iv(DEVICE_MAX_COMPUTE_UNITS)
240 root 1.3 #endif
241     #ifdef CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS
242 root 1.1 const_iv(DEVICE_MAX_WORK_ITEM_DIMENSIONS)
243 root 1.3 #endif
244     #ifdef CL_DEVICE_MAX_WORK_GROUP_SIZE
245 root 1.1 const_iv(DEVICE_MAX_WORK_GROUP_SIZE)
246 root 1.3 #endif
247     #ifdef CL_DEVICE_MAX_WORK_ITEM_SIZES
248 root 1.1 const_iv(DEVICE_MAX_WORK_ITEM_SIZES)
249 root 1.3 #endif
250     #ifdef CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR
251 root 1.1 const_iv(DEVICE_PREFERRED_VECTOR_WIDTH_CHAR)
252 root 1.3 #endif
253     #ifdef CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT
254 root 1.1 const_iv(DEVICE_PREFERRED_VECTOR_WIDTH_SHORT)
255 root 1.3 #endif
256     #ifdef CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT
257 root 1.1 const_iv(DEVICE_PREFERRED_VECTOR_WIDTH_INT)
258 root 1.3 #endif
259     #ifdef CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG
260 root 1.1 const_iv(DEVICE_PREFERRED_VECTOR_WIDTH_LONG)
261 root 1.3 #endif
262     #ifdef CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT
263 root 1.1 const_iv(DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT)
264 root 1.3 #endif
265     #ifdef CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE
266 root 1.1 const_iv(DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE)
267 root 1.3 #endif
268     #ifdef CL_DEVICE_MAX_CLOCK_FREQUENCY
269 root 1.1 const_iv(DEVICE_MAX_CLOCK_FREQUENCY)
270 root 1.3 #endif
271     #ifdef CL_DEVICE_ADDRESS_BITS
272 root 1.1 const_iv(DEVICE_ADDRESS_BITS)
273 root 1.3 #endif
274     #ifdef CL_DEVICE_MAX_READ_IMAGE_ARGS
275 root 1.1 const_iv(DEVICE_MAX_READ_IMAGE_ARGS)
276 root 1.3 #endif
277     #ifdef CL_DEVICE_MAX_WRITE_IMAGE_ARGS
278 root 1.1 const_iv(DEVICE_MAX_WRITE_IMAGE_ARGS)
279 root 1.3 #endif
280     #ifdef CL_DEVICE_MAX_MEM_ALLOC_SIZE
281 root 1.1 const_iv(DEVICE_MAX_MEM_ALLOC_SIZE)
282 root 1.3 #endif
283     #ifdef CL_DEVICE_IMAGE2D_MAX_WIDTH
284 root 1.1 const_iv(DEVICE_IMAGE2D_MAX_WIDTH)
285 root 1.3 #endif
286     #ifdef CL_DEVICE_IMAGE2D_MAX_HEIGHT
287 root 1.1 const_iv(DEVICE_IMAGE2D_MAX_HEIGHT)
288 root 1.3 #endif
289     #ifdef CL_DEVICE_IMAGE3D_MAX_WIDTH
290 root 1.1 const_iv(DEVICE_IMAGE3D_MAX_WIDTH)
291 root 1.3 #endif
292     #ifdef CL_DEVICE_IMAGE3D_MAX_HEIGHT
293 root 1.1 const_iv(DEVICE_IMAGE3D_MAX_HEIGHT)
294 root 1.3 #endif
295     #ifdef CL_DEVICE_IMAGE3D_MAX_DEPTH
296 root 1.1 const_iv(DEVICE_IMAGE3D_MAX_DEPTH)
297 root 1.3 #endif
298     #ifdef CL_DEVICE_IMAGE_SUPPORT
299 root 1.1 const_iv(DEVICE_IMAGE_SUPPORT)
300 root 1.3 #endif
301     #ifdef CL_DEVICE_MAX_PARAMETER_SIZE
302 root 1.1 const_iv(DEVICE_MAX_PARAMETER_SIZE)
303 root 1.3 #endif
304     #ifdef CL_DEVICE_MAX_SAMPLERS
305 root 1.1 const_iv(DEVICE_MAX_SAMPLERS)
306 root 1.3 #endif
307     #ifdef CL_DEVICE_MEM_BASE_ADDR_ALIGN
308 root 1.1 const_iv(DEVICE_MEM_BASE_ADDR_ALIGN)
309 root 1.3 #endif
310     #ifdef CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE
311 root 1.1 const_iv(DEVICE_MIN_DATA_TYPE_ALIGN_SIZE)
312 root 1.3 #endif
313     #ifdef CL_DEVICE_SINGLE_FP_CONFIG
314 root 1.1 const_iv(DEVICE_SINGLE_FP_CONFIG)
315 root 1.3 #endif
316     #ifdef CL_DEVICE_GLOBAL_MEM_CACHE_TYPE
317 root 1.1 const_iv(DEVICE_GLOBAL_MEM_CACHE_TYPE)
318 root 1.3 #endif
319     #ifdef CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE
320 root 1.1 const_iv(DEVICE_GLOBAL_MEM_CACHELINE_SIZE)
321 root 1.3 #endif
322     #ifdef CL_DEVICE_GLOBAL_MEM_CACHE_SIZE
323 root 1.1 const_iv(DEVICE_GLOBAL_MEM_CACHE_SIZE)
324 root 1.3 #endif
325     #ifdef CL_DEVICE_GLOBAL_MEM_SIZE
326 root 1.1 const_iv(DEVICE_GLOBAL_MEM_SIZE)
327 root 1.3 #endif
328     #ifdef CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE
329 root 1.1 const_iv(DEVICE_MAX_CONSTANT_BUFFER_SIZE)
330 root 1.3 #endif
331     #ifdef CL_DEVICE_MAX_CONSTANT_ARGS
332 root 1.1 const_iv(DEVICE_MAX_CONSTANT_ARGS)
333 root 1.3 #endif
334     #ifdef CL_DEVICE_LOCAL_MEM_TYPE
335 root 1.1 const_iv(DEVICE_LOCAL_MEM_TYPE)
336 root 1.3 #endif
337     #ifdef CL_DEVICE_LOCAL_MEM_SIZE
338 root 1.1 const_iv(DEVICE_LOCAL_MEM_SIZE)
339 root 1.3 #endif
340     #ifdef CL_DEVICE_ERROR_CORRECTION_SUPPORT
341 root 1.1 const_iv(DEVICE_ERROR_CORRECTION_SUPPORT)
342 root 1.3 #endif
343     #ifdef CL_DEVICE_PROFILING_TIMER_RESOLUTION
344 root 1.1 const_iv(DEVICE_PROFILING_TIMER_RESOLUTION)
345 root 1.3 #endif
346     #ifdef CL_DEVICE_ENDIAN_LITTLE
347 root 1.1 const_iv(DEVICE_ENDIAN_LITTLE)
348 root 1.3 #endif
349     #ifdef CL_DEVICE_AVAILABLE
350 root 1.1 const_iv(DEVICE_AVAILABLE)
351 root 1.3 #endif
352     #ifdef CL_DEVICE_COMPILER_AVAILABLE
353 root 1.1 const_iv(DEVICE_COMPILER_AVAILABLE)
354 root 1.3 #endif
355     #ifdef CL_DEVICE_EXECUTION_CAPABILITIES
356 root 1.1 const_iv(DEVICE_EXECUTION_CAPABILITIES)
357 root 1.3 #endif
358     #ifdef CL_DEVICE_QUEUE_PROPERTIES
359 root 1.1 const_iv(DEVICE_QUEUE_PROPERTIES)
360 root 1.3 #endif
361     #ifdef CL_DEVICE_NAME
362 root 1.1 const_iv(DEVICE_NAME)
363 root 1.3 #endif
364     #ifdef CL_DEVICE_VENDOR
365 root 1.1 const_iv(DEVICE_VENDOR)
366 root 1.3 #endif
367     #ifdef CL_DRIVER_VERSION
368 root 1.1 const_iv(DRIVER_VERSION)
369 root 1.3 #endif
370     #ifdef CL_DEVICE_PROFILE
371 root 1.1 const_iv(DEVICE_PROFILE)
372 root 1.3 #endif
373     #ifdef CL_DEVICE_VERSION
374 root 1.1 const_iv(DEVICE_VERSION)
375 root 1.3 #endif
376     #ifdef CL_DEVICE_EXTENSIONS
377 root 1.1 const_iv(DEVICE_EXTENSIONS)
378 root 1.3 #endif
379     #ifdef CL_DEVICE_PLATFORM
380 root 1.1 const_iv(DEVICE_PLATFORM)
381 root 1.3 #endif
382 root 1.4 #ifdef CL_DEVICE_DOUBLE_FP_CONFIG
383     const_iv(DEVICE_DOUBLE_FP_CONFIG)
384     #endif
385 root 1.3 #ifdef CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF
386 root 1.1 const_iv(DEVICE_PREFERRED_VECTOR_WIDTH_HALF)
387 root 1.3 #endif
388     #ifdef CL_DEVICE_HOST_UNIFIED_MEMORY
389 root 1.1 const_iv(DEVICE_HOST_UNIFIED_MEMORY)
390 root 1.3 #endif
391     #ifdef CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR
392 root 1.1 const_iv(DEVICE_NATIVE_VECTOR_WIDTH_CHAR)
393 root 1.3 #endif
394     #ifdef CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT
395 root 1.1 const_iv(DEVICE_NATIVE_VECTOR_WIDTH_SHORT)
396 root 1.3 #endif
397     #ifdef CL_DEVICE_NATIVE_VECTOR_WIDTH_INT
398 root 1.1 const_iv(DEVICE_NATIVE_VECTOR_WIDTH_INT)
399 root 1.3 #endif
400     #ifdef CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG
401 root 1.1 const_iv(DEVICE_NATIVE_VECTOR_WIDTH_LONG)
402 root 1.3 #endif
403     #ifdef CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT
404 root 1.1 const_iv(DEVICE_NATIVE_VECTOR_WIDTH_FLOAT)
405 root 1.3 #endif
406     #ifdef CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE
407 root 1.1 const_iv(DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE)
408 root 1.3 #endif
409     #ifdef CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF
410 root 1.1 const_iv(DEVICE_NATIVE_VECTOR_WIDTH_HALF)
411 root 1.3 #endif
412     #ifdef CL_DEVICE_OPENCL_C_VERSION
413 root 1.1 const_iv(DEVICE_OPENCL_C_VERSION)
414 root 1.3 #endif
415 root 1.4 #ifdef CL_DEVICE_LINKER_AVAILABLE
416     const_iv(DEVICE_LINKER_AVAILABLE)
417     #endif
418     #ifdef CL_DEVICE_BUILT_IN_KERNELS
419     const_iv(DEVICE_BUILT_IN_KERNELS)
420     #endif
421     #ifdef CL_DEVICE_IMAGE_MAX_BUFFER_SIZE
422     const_iv(DEVICE_IMAGE_MAX_BUFFER_SIZE)
423     #endif
424     #ifdef CL_DEVICE_IMAGE_MAX_ARRAY_SIZE
425     const_iv(DEVICE_IMAGE_MAX_ARRAY_SIZE)
426     #endif
427     #ifdef CL_DEVICE_PARENT_DEVICE
428     const_iv(DEVICE_PARENT_DEVICE)
429     #endif
430     #ifdef CL_DEVICE_PARTITION_MAX_SUB_DEVICES
431     const_iv(DEVICE_PARTITION_MAX_SUB_DEVICES)
432     #endif
433     #ifdef CL_DEVICE_PARTITION_PROPERTIES
434     const_iv(DEVICE_PARTITION_PROPERTIES)
435     #endif
436     #ifdef CL_DEVICE_PARTITION_AFFINITY_DOMAIN
437     const_iv(DEVICE_PARTITION_AFFINITY_DOMAIN)
438     #endif
439     #ifdef CL_DEVICE_PARTITION_TYPE
440     const_iv(DEVICE_PARTITION_TYPE)
441     #endif
442     #ifdef CL_DEVICE_REFERENCE_COUNT
443     const_iv(DEVICE_REFERENCE_COUNT)
444     #endif
445     #ifdef CL_DEVICE_PREFERRED_INTEROP_USER_SYNC
446     const_iv(DEVICE_PREFERRED_INTEROP_USER_SYNC)
447     #endif
448     #ifdef CL_DEVICE_PRINTF_BUFFER_SIZE
449     const_iv(DEVICE_PRINTF_BUFFER_SIZE)
450     #endif
451 root 1.3 #ifdef CL_FP_DENORM
452 root 1.1 const_iv(FP_DENORM)
453 root 1.3 #endif
454     #ifdef CL_FP_INF_NAN
455 root 1.1 const_iv(FP_INF_NAN)
456 root 1.3 #endif
457     #ifdef CL_FP_ROUND_TO_NEAREST
458 root 1.1 const_iv(FP_ROUND_TO_NEAREST)
459 root 1.3 #endif
460     #ifdef CL_FP_ROUND_TO_ZERO
461 root 1.1 const_iv(FP_ROUND_TO_ZERO)
462 root 1.3 #endif
463     #ifdef CL_FP_ROUND_TO_INF
464 root 1.1 const_iv(FP_ROUND_TO_INF)
465 root 1.3 #endif
466     #ifdef CL_FP_FMA
467 root 1.1 const_iv(FP_FMA)
468 root 1.3 #endif
469     #ifdef CL_FP_SOFT_FLOAT
470 root 1.1 const_iv(FP_SOFT_FLOAT)
471 root 1.3 #endif
472 root 1.4 #ifdef CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT
473     const_iv(FP_CORRECTLY_ROUNDED_DIVIDE_SQRT)
474     #endif
475 root 1.3 #ifdef CL_NONE
476 root 1.1 const_iv(NONE)
477 root 1.3 #endif
478     #ifdef CL_READ_ONLY_CACHE
479 root 1.1 const_iv(READ_ONLY_CACHE)
480 root 1.3 #endif
481     #ifdef CL_READ_WRITE_CACHE
482 root 1.1 const_iv(READ_WRITE_CACHE)
483 root 1.3 #endif
484     #ifdef CL_LOCAL
485 root 1.1 const_iv(LOCAL)
486 root 1.3 #endif
487     #ifdef CL_GLOBAL
488 root 1.1 const_iv(GLOBAL)
489 root 1.3 #endif
490     #ifdef CL_EXEC_KERNEL
491 root 1.1 const_iv(EXEC_KERNEL)
492 root 1.3 #endif
493     #ifdef CL_EXEC_NATIVE_KERNEL
494 root 1.1 const_iv(EXEC_NATIVE_KERNEL)
495 root 1.3 #endif
496     #ifdef CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE
497 root 1.1 const_iv(QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE)
498 root 1.3 #endif
499     #ifdef CL_QUEUE_PROFILING_ENABLE
500 root 1.1 const_iv(QUEUE_PROFILING_ENABLE)
501 root 1.3 #endif
502     #ifdef CL_CONTEXT_REFERENCE_COUNT
503 root 1.1 const_iv(CONTEXT_REFERENCE_COUNT)
504 root 1.3 #endif
505     #ifdef CL_CONTEXT_DEVICES
506 root 1.1 const_iv(CONTEXT_DEVICES)
507 root 1.3 #endif
508     #ifdef CL_CONTEXT_PROPERTIES
509 root 1.1 const_iv(CONTEXT_PROPERTIES)
510 root 1.3 #endif
511     #ifdef CL_CONTEXT_NUM_DEVICES
512 root 1.1 const_iv(CONTEXT_NUM_DEVICES)
513 root 1.3 #endif
514     #ifdef CL_CONTEXT_PLATFORM
515 root 1.1 const_iv(CONTEXT_PLATFORM)
516 root 1.3 #endif
517 root 1.4 #ifdef CL_CONTEXT_INTEROP_USER_SYNC
518     const_iv(CONTEXT_INTEROP_USER_SYNC)
519     #endif
520     #ifdef CL_DEVICE_PARTITION_EQUALLY
521     const_iv(DEVICE_PARTITION_EQUALLY)
522     #endif
523     #ifdef CL_DEVICE_PARTITION_BY_COUNTS
524     const_iv(DEVICE_PARTITION_BY_COUNTS)
525     #endif
526     #ifdef CL_DEVICE_PARTITION_BY_COUNTS_LIST_END
527     const_iv(DEVICE_PARTITION_BY_COUNTS_LIST_END)
528     #endif
529     #ifdef CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN
530     const_iv(DEVICE_PARTITION_BY_AFFINITY_DOMAIN)
531     #endif
532     #ifdef CL_DEVICE_AFFINITY_DOMAIN_NUMA
533     const_iv(DEVICE_AFFINITY_DOMAIN_NUMA)
534     #endif
535     #ifdef CL_DEVICE_AFFINITY_DOMAIN_L4_CACHE
536     const_iv(DEVICE_AFFINITY_DOMAIN_L4_CACHE)
537     #endif
538     #ifdef CL_DEVICE_AFFINITY_DOMAIN_L3_CACHE
539     const_iv(DEVICE_AFFINITY_DOMAIN_L3_CACHE)
540     #endif
541     #ifdef CL_DEVICE_AFFINITY_DOMAIN_L2_CACHE
542     const_iv(DEVICE_AFFINITY_DOMAIN_L2_CACHE)
543     #endif
544     #ifdef CL_DEVICE_AFFINITY_DOMAIN_L1_CACHE
545     const_iv(DEVICE_AFFINITY_DOMAIN_L1_CACHE)
546     #endif
547     #ifdef CL_DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE
548     const_iv(DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE)
549     #endif
550 root 1.3 #ifdef CL_QUEUE_CONTEXT
551 root 1.1 const_iv(QUEUE_CONTEXT)
552 root 1.3 #endif
553     #ifdef CL_QUEUE_DEVICE
554 root 1.1 const_iv(QUEUE_DEVICE)
555 root 1.3 #endif
556     #ifdef CL_QUEUE_REFERENCE_COUNT
557 root 1.1 const_iv(QUEUE_REFERENCE_COUNT)
558 root 1.3 #endif
559     #ifdef CL_QUEUE_PROPERTIES
560 root 1.1 const_iv(QUEUE_PROPERTIES)
561 root 1.3 #endif
562     #ifdef CL_MEM_READ_WRITE
563 root 1.1 const_iv(MEM_READ_WRITE)
564 root 1.3 #endif
565     #ifdef CL_MEM_WRITE_ONLY
566 root 1.1 const_iv(MEM_WRITE_ONLY)
567 root 1.3 #endif
568     #ifdef CL_MEM_READ_ONLY
569 root 1.1 const_iv(MEM_READ_ONLY)
570 root 1.3 #endif
571     #ifdef CL_MEM_USE_HOST_PTR
572 root 1.1 const_iv(MEM_USE_HOST_PTR)
573 root 1.3 #endif
574     #ifdef CL_MEM_ALLOC_HOST_PTR
575 root 1.1 const_iv(MEM_ALLOC_HOST_PTR)
576 root 1.3 #endif
577     #ifdef CL_MEM_COPY_HOST_PTR
578 root 1.1 const_iv(MEM_COPY_HOST_PTR)
579 root 1.3 #endif
580 root 1.4 #ifdef CL_MEM_HOST_WRITE_ONLY
581     const_iv(MEM_HOST_WRITE_ONLY)
582     #endif
583     #ifdef CL_MEM_HOST_READ_ONLY
584     const_iv(MEM_HOST_READ_ONLY)
585     #endif
586     #ifdef CL_MEM_HOST_NO_ACCESS
587     const_iv(MEM_HOST_NO_ACCESS)
588     #endif
589     #ifdef CL_MIGRATE_MEM_OBJECT_HOST
590     const_iv(MIGRATE_MEM_OBJECT_HOST)
591     #endif
592     #ifdef CL_MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED
593     const_iv(MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED)
594     #endif
595 root 1.3 #ifdef CL_R
596 root 1.1 const_iv(R)
597 root 1.3 #endif
598     #ifdef CL_A
599 root 1.1 const_iv(A)
600 root 1.3 #endif
601     #ifdef CL_RG
602 root 1.1 const_iv(RG)
603 root 1.3 #endif
604     #ifdef CL_RA
605 root 1.1 const_iv(RA)
606 root 1.3 #endif
607     #ifdef CL_RGB
608 root 1.1 const_iv(RGB)
609 root 1.3 #endif
610     #ifdef CL_RGBA
611 root 1.1 const_iv(RGBA)
612 root 1.3 #endif
613     #ifdef CL_BGRA
614 root 1.1 const_iv(BGRA)
615 root 1.3 #endif
616     #ifdef CL_ARGB
617 root 1.1 const_iv(ARGB)
618 root 1.3 #endif
619     #ifdef CL_INTENSITY
620 root 1.1 const_iv(INTENSITY)
621 root 1.3 #endif
622     #ifdef CL_LUMINANCE
623 root 1.1 const_iv(LUMINANCE)
624 root 1.3 #endif
625     #ifdef CL_Rx
626 root 1.1 const_iv(Rx)
627 root 1.3 #endif
628     #ifdef CL_RGx
629 root 1.1 const_iv(RGx)
630 root 1.3 #endif
631     #ifdef CL_RGBx
632 root 1.1 const_iv(RGBx)
633 root 1.3 #endif
634     #ifdef CL_SNORM_INT8
635 root 1.1 const_iv(SNORM_INT8)
636 root 1.3 #endif
637     #ifdef CL_SNORM_INT16
638 root 1.1 const_iv(SNORM_INT16)
639 root 1.3 #endif
640     #ifdef CL_UNORM_INT8
641 root 1.1 const_iv(UNORM_INT8)
642 root 1.3 #endif
643     #ifdef CL_UNORM_INT16
644 root 1.1 const_iv(UNORM_INT16)
645 root 1.3 #endif
646     #ifdef CL_UNORM_SHORT_565
647 root 1.1 const_iv(UNORM_SHORT_565)
648 root 1.3 #endif
649     #ifdef CL_UNORM_SHORT_555
650 root 1.1 const_iv(UNORM_SHORT_555)
651 root 1.3 #endif
652     #ifdef CL_UNORM_INT_101010
653 root 1.1 const_iv(UNORM_INT_101010)
654 root 1.3 #endif
655     #ifdef CL_SIGNED_INT8
656 root 1.1 const_iv(SIGNED_INT8)
657 root 1.3 #endif
658     #ifdef CL_SIGNED_INT16
659 root 1.1 const_iv(SIGNED_INT16)
660 root 1.3 #endif
661     #ifdef CL_SIGNED_INT32
662 root 1.1 const_iv(SIGNED_INT32)
663 root 1.3 #endif
664     #ifdef CL_UNSIGNED_INT8
665 root 1.1 const_iv(UNSIGNED_INT8)
666 root 1.3 #endif
667     #ifdef CL_UNSIGNED_INT16
668 root 1.1 const_iv(UNSIGNED_INT16)
669 root 1.3 #endif
670     #ifdef CL_UNSIGNED_INT32
671 root 1.1 const_iv(UNSIGNED_INT32)
672 root 1.3 #endif
673     #ifdef CL_HALF_FLOAT
674 root 1.1 const_iv(HALF_FLOAT)
675 root 1.3 #endif
676     #ifdef CL_FLOAT
677 root 1.1 const_iv(FLOAT)
678 root 1.3 #endif
679     #ifdef CL_MEM_OBJECT_BUFFER
680 root 1.1 const_iv(MEM_OBJECT_BUFFER)
681 root 1.3 #endif
682     #ifdef CL_MEM_OBJECT_IMAGE2D
683 root 1.1 const_iv(MEM_OBJECT_IMAGE2D)
684 root 1.3 #endif
685     #ifdef CL_MEM_OBJECT_IMAGE3D
686 root 1.1 const_iv(MEM_OBJECT_IMAGE3D)
687 root 1.3 #endif
688 root 1.4 #ifdef CL_MEM_OBJECT_IMAGE2D_ARRAY
689     const_iv(MEM_OBJECT_IMAGE2D_ARRAY)
690     #endif
691     #ifdef CL_MEM_OBJECT_IMAGE1D
692     const_iv(MEM_OBJECT_IMAGE1D)
693     #endif
694     #ifdef CL_MEM_OBJECT_IMAGE1D_ARRAY
695     const_iv(MEM_OBJECT_IMAGE1D_ARRAY)
696     #endif
697     #ifdef CL_MEM_OBJECT_IMAGE1D_BUFFER
698     const_iv(MEM_OBJECT_IMAGE1D_BUFFER)
699     #endif
700 root 1.3 #ifdef CL_MEM_TYPE
701 root 1.1 const_iv(MEM_TYPE)
702 root 1.3 #endif
703     #ifdef CL_MEM_FLAGS
704 root 1.1 const_iv(MEM_FLAGS)
705 root 1.3 #endif
706     #ifdef CL_MEM_SIZE
707 root 1.1 const_iv(MEM_SIZE)
708 root 1.3 #endif
709     #ifdef CL_MEM_HOST_PTR
710 root 1.1 const_iv(MEM_HOST_PTR)
711 root 1.3 #endif
712     #ifdef CL_MEM_MAP_COUNT
713 root 1.1 const_iv(MEM_MAP_COUNT)
714 root 1.3 #endif
715     #ifdef CL_MEM_REFERENCE_COUNT
716 root 1.1 const_iv(MEM_REFERENCE_COUNT)
717 root 1.3 #endif
718     #ifdef CL_MEM_CONTEXT
719 root 1.1 const_iv(MEM_CONTEXT)
720 root 1.3 #endif
721     #ifdef CL_MEM_ASSOCIATED_MEMOBJECT
722 root 1.1 const_iv(MEM_ASSOCIATED_MEMOBJECT)
723 root 1.3 #endif
724     #ifdef CL_MEM_OFFSET
725 root 1.1 const_iv(MEM_OFFSET)
726 root 1.3 #endif
727     #ifdef CL_IMAGE_FORMAT
728 root 1.1 const_iv(IMAGE_FORMAT)
729 root 1.3 #endif
730     #ifdef CL_IMAGE_ELEMENT_SIZE
731 root 1.1 const_iv(IMAGE_ELEMENT_SIZE)
732 root 1.3 #endif
733     #ifdef CL_IMAGE_ROW_PITCH
734 root 1.1 const_iv(IMAGE_ROW_PITCH)
735 root 1.3 #endif
736     #ifdef CL_IMAGE_SLICE_PITCH
737 root 1.1 const_iv(IMAGE_SLICE_PITCH)
738 root 1.3 #endif
739     #ifdef CL_IMAGE_WIDTH
740 root 1.1 const_iv(IMAGE_WIDTH)
741 root 1.3 #endif
742     #ifdef CL_IMAGE_HEIGHT
743 root 1.1 const_iv(IMAGE_HEIGHT)
744 root 1.3 #endif
745     #ifdef CL_IMAGE_DEPTH
746 root 1.1 const_iv(IMAGE_DEPTH)
747 root 1.3 #endif
748 root 1.4 #ifdef CL_IMAGE_ARRAY_SIZE
749     const_iv(IMAGE_ARRAY_SIZE)
750     #endif
751     #ifdef CL_IMAGE_BUFFER
752     const_iv(IMAGE_BUFFER)
753     #endif
754     #ifdef CL_IMAGE_NUM_MIP_LEVELS
755     const_iv(IMAGE_NUM_MIP_LEVELS)
756     #endif
757     #ifdef CL_IMAGE_NUM_SAMPLES
758     const_iv(IMAGE_NUM_SAMPLES)
759     #endif
760 root 1.3 #ifdef CL_ADDRESS_NONE
761 root 1.1 const_iv(ADDRESS_NONE)
762 root 1.3 #endif
763     #ifdef CL_ADDRESS_CLAMP_TO_EDGE
764 root 1.1 const_iv(ADDRESS_CLAMP_TO_EDGE)
765 root 1.3 #endif
766     #ifdef CL_ADDRESS_CLAMP
767 root 1.1 const_iv(ADDRESS_CLAMP)
768 root 1.3 #endif
769     #ifdef CL_ADDRESS_REPEAT
770 root 1.1 const_iv(ADDRESS_REPEAT)
771 root 1.3 #endif
772     #ifdef CL_ADDRESS_MIRRORED_REPEAT
773 root 1.1 const_iv(ADDRESS_MIRRORED_REPEAT)
774 root 1.3 #endif
775     #ifdef CL_FILTER_NEAREST
776 root 1.1 const_iv(FILTER_NEAREST)
777 root 1.3 #endif
778     #ifdef CL_FILTER_LINEAR
779 root 1.1 const_iv(FILTER_LINEAR)
780 root 1.3 #endif
781     #ifdef CL_SAMPLER_REFERENCE_COUNT
782 root 1.1 const_iv(SAMPLER_REFERENCE_COUNT)
783 root 1.3 #endif
784     #ifdef CL_SAMPLER_CONTEXT
785 root 1.1 const_iv(SAMPLER_CONTEXT)
786 root 1.3 #endif
787     #ifdef CL_SAMPLER_NORMALIZED_COORDS
788 root 1.1 const_iv(SAMPLER_NORMALIZED_COORDS)
789 root 1.3 #endif
790     #ifdef CL_SAMPLER_ADDRESSING_MODE
791 root 1.1 const_iv(SAMPLER_ADDRESSING_MODE)
792 root 1.3 #endif
793     #ifdef CL_SAMPLER_FILTER_MODE
794 root 1.1 const_iv(SAMPLER_FILTER_MODE)
795 root 1.3 #endif
796     #ifdef CL_MAP_READ
797 root 1.1 const_iv(MAP_READ)
798 root 1.3 #endif
799     #ifdef CL_MAP_WRITE
800 root 1.1 const_iv(MAP_WRITE)
801 root 1.3 #endif
802 root 1.4 #ifdef CL_MAP_WRITE_INVALIDATE_REGION
803     const_iv(MAP_WRITE_INVALIDATE_REGION)
804     #endif
805 root 1.3 #ifdef CL_PROGRAM_REFERENCE_COUNT
806 root 1.1 const_iv(PROGRAM_REFERENCE_COUNT)
807 root 1.3 #endif
808     #ifdef CL_PROGRAM_CONTEXT
809 root 1.1 const_iv(PROGRAM_CONTEXT)
810 root 1.3 #endif
811     #ifdef CL_PROGRAM_NUM_DEVICES
812 root 1.1 const_iv(PROGRAM_NUM_DEVICES)
813 root 1.3 #endif
814     #ifdef CL_PROGRAM_DEVICES
815 root 1.1 const_iv(PROGRAM_DEVICES)
816 root 1.3 #endif
817     #ifdef CL_PROGRAM_SOURCE
818 root 1.1 const_iv(PROGRAM_SOURCE)
819 root 1.3 #endif
820     #ifdef CL_PROGRAM_BINARY_SIZES
821 root 1.1 const_iv(PROGRAM_BINARY_SIZES)
822 root 1.3 #endif
823     #ifdef CL_PROGRAM_BINARIES
824 root 1.1 const_iv(PROGRAM_BINARIES)
825 root 1.3 #endif
826 root 1.4 #ifdef CL_PROGRAM_NUM_KERNELS
827     const_iv(PROGRAM_NUM_KERNELS)
828     #endif
829     #ifdef CL_PROGRAM_KERNEL_NAMES
830     const_iv(PROGRAM_KERNEL_NAMES)
831     #endif
832 root 1.3 #ifdef CL_PROGRAM_BUILD_STATUS
833 root 1.1 const_iv(PROGRAM_BUILD_STATUS)
834 root 1.3 #endif
835     #ifdef CL_PROGRAM_BUILD_OPTIONS
836 root 1.1 const_iv(PROGRAM_BUILD_OPTIONS)
837 root 1.3 #endif
838     #ifdef CL_PROGRAM_BUILD_LOG
839 root 1.1 const_iv(PROGRAM_BUILD_LOG)
840 root 1.3 #endif
841 root 1.4 #ifdef CL_PROGRAM_BINARY_TYPE
842     const_iv(PROGRAM_BINARY_TYPE)
843     #endif
844     #ifdef CL_PROGRAM_BINARY_TYPE_NONE
845     const_iv(PROGRAM_BINARY_TYPE_NONE)
846     #endif
847     #ifdef CL_PROGRAM_BINARY_TYPE_COMPILED_OBJECT
848     const_iv(PROGRAM_BINARY_TYPE_COMPILED_OBJECT)
849     #endif
850     #ifdef CL_PROGRAM_BINARY_TYPE_LIBRARY
851     const_iv(PROGRAM_BINARY_TYPE_LIBRARY)
852     #endif
853     #ifdef CL_PROGRAM_BINARY_TYPE_EXECUTABLE
854     const_iv(PROGRAM_BINARY_TYPE_EXECUTABLE)
855     #endif
856 root 1.3 #ifdef CL_BUILD_SUCCESS
857 root 1.1 const_iv(BUILD_SUCCESS)
858 root 1.3 #endif
859     #ifdef CL_BUILD_NONE
860 root 1.1 const_iv(BUILD_NONE)
861 root 1.3 #endif
862     #ifdef CL_BUILD_ERROR
863 root 1.1 const_iv(BUILD_ERROR)
864 root 1.3 #endif
865     #ifdef CL_BUILD_IN_PROGRESS
866 root 1.1 const_iv(BUILD_IN_PROGRESS)
867 root 1.3 #endif
868     #ifdef CL_KERNEL_FUNCTION_NAME
869 root 1.1 const_iv(KERNEL_FUNCTION_NAME)
870 root 1.3 #endif
871     #ifdef CL_KERNEL_NUM_ARGS
872 root 1.1 const_iv(KERNEL_NUM_ARGS)
873 root 1.3 #endif
874     #ifdef CL_KERNEL_REFERENCE_COUNT
875 root 1.1 const_iv(KERNEL_REFERENCE_COUNT)
876 root 1.3 #endif
877     #ifdef CL_KERNEL_CONTEXT
878 root 1.1 const_iv(KERNEL_CONTEXT)
879 root 1.3 #endif
880     #ifdef CL_KERNEL_PROGRAM
881 root 1.1 const_iv(KERNEL_PROGRAM)
882 root 1.3 #endif
883 root 1.4 #ifdef CL_KERNEL_ATTRIBUTES
884     const_iv(KERNEL_ATTRIBUTES)
885     #endif
886     #ifdef CL_KERNEL_ARG_ADDRESS_QUALIFIER
887     const_iv(KERNEL_ARG_ADDRESS_QUALIFIER)
888     #endif
889     #ifdef CL_KERNEL_ARG_ACCESS_QUALIFIER
890     const_iv(KERNEL_ARG_ACCESS_QUALIFIER)
891     #endif
892     #ifdef CL_KERNEL_ARG_TYPE_NAME
893     const_iv(KERNEL_ARG_TYPE_NAME)
894     #endif
895     #ifdef CL_KERNEL_ARG_TYPE_QUALIFIER
896     const_iv(KERNEL_ARG_TYPE_QUALIFIER)
897     #endif
898     #ifdef CL_KERNEL_ARG_NAME
899     const_iv(KERNEL_ARG_NAME)
900     #endif
901     #ifdef CL_KERNEL_ARG_ADDRESS_GLOBAL
902     const_iv(KERNEL_ARG_ADDRESS_GLOBAL)
903     #endif
904     #ifdef CL_KERNEL_ARG_ADDRESS_LOCAL
905     const_iv(KERNEL_ARG_ADDRESS_LOCAL)
906     #endif
907     #ifdef CL_KERNEL_ARG_ADDRESS_CONSTANT
908     const_iv(KERNEL_ARG_ADDRESS_CONSTANT)
909     #endif
910     #ifdef CL_KERNEL_ARG_ADDRESS_PRIVATE
911     const_iv(KERNEL_ARG_ADDRESS_PRIVATE)
912     #endif
913     #ifdef CL_KERNEL_ARG_ACCESS_READ_ONLY
914     const_iv(KERNEL_ARG_ACCESS_READ_ONLY)
915     #endif
916     #ifdef CL_KERNEL_ARG_ACCESS_WRITE_ONLY
917     const_iv(KERNEL_ARG_ACCESS_WRITE_ONLY)
918     #endif
919     #ifdef CL_KERNEL_ARG_ACCESS_READ_WRITE
920     const_iv(KERNEL_ARG_ACCESS_READ_WRITE)
921     #endif
922     #ifdef CL_KERNEL_ARG_ACCESS_NONE
923     const_iv(KERNEL_ARG_ACCESS_NONE)
924     #endif
925     #ifdef CL_KERNEL_ARG_TYPE_NONE
926     const_iv(KERNEL_ARG_TYPE_NONE)
927     #endif
928     #ifdef CL_KERNEL_ARG_TYPE_CONST
929     const_iv(KERNEL_ARG_TYPE_CONST)
930     #endif
931     #ifdef CL_KERNEL_ARG_TYPE_RESTRICT
932     const_iv(KERNEL_ARG_TYPE_RESTRICT)
933     #endif
934     #ifdef CL_KERNEL_ARG_TYPE_VOLATILE
935     const_iv(KERNEL_ARG_TYPE_VOLATILE)
936     #endif
937 root 1.3 #ifdef CL_KERNEL_WORK_GROUP_SIZE
938 root 1.1 const_iv(KERNEL_WORK_GROUP_SIZE)
939 root 1.3 #endif
940     #ifdef CL_KERNEL_COMPILE_WORK_GROUP_SIZE
941 root 1.1 const_iv(KERNEL_COMPILE_WORK_GROUP_SIZE)
942 root 1.3 #endif
943     #ifdef CL_KERNEL_LOCAL_MEM_SIZE
944 root 1.1 const_iv(KERNEL_LOCAL_MEM_SIZE)
945 root 1.3 #endif
946     #ifdef CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE
947 root 1.1 const_iv(KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE)
948 root 1.3 #endif
949     #ifdef CL_KERNEL_PRIVATE_MEM_SIZE
950 root 1.1 const_iv(KERNEL_PRIVATE_MEM_SIZE)
951 root 1.3 #endif
952 root 1.4 #ifdef CL_KERNEL_GLOBAL_WORK_SIZE
953     const_iv(KERNEL_GLOBAL_WORK_SIZE)
954     #endif
955 root 1.3 #ifdef CL_EVENT_COMMAND_QUEUE
956 root 1.1 const_iv(EVENT_COMMAND_QUEUE)
957 root 1.3 #endif
958     #ifdef CL_EVENT_COMMAND_TYPE
959 root 1.1 const_iv(EVENT_COMMAND_TYPE)
960 root 1.3 #endif
961     #ifdef CL_EVENT_REFERENCE_COUNT
962 root 1.1 const_iv(EVENT_REFERENCE_COUNT)
963 root 1.3 #endif
964     #ifdef CL_EVENT_COMMAND_EXECUTION_STATUS
965 root 1.1 const_iv(EVENT_COMMAND_EXECUTION_STATUS)
966 root 1.3 #endif
967     #ifdef CL_EVENT_CONTEXT
968 root 1.1 const_iv(EVENT_CONTEXT)
969 root 1.3 #endif
970     #ifdef CL_COMMAND_NDRANGE_KERNEL
971 root 1.1 const_iv(COMMAND_NDRANGE_KERNEL)
972 root 1.3 #endif
973     #ifdef CL_COMMAND_TASK
974 root 1.1 const_iv(COMMAND_TASK)
975 root 1.3 #endif
976     #ifdef CL_COMMAND_NATIVE_KERNEL
977 root 1.1 const_iv(COMMAND_NATIVE_KERNEL)
978 root 1.3 #endif
979     #ifdef CL_COMMAND_READ_BUFFER
980 root 1.1 const_iv(COMMAND_READ_BUFFER)
981 root 1.3 #endif
982     #ifdef CL_COMMAND_WRITE_BUFFER
983 root 1.1 const_iv(COMMAND_WRITE_BUFFER)
984 root 1.3 #endif
985     #ifdef CL_COMMAND_COPY_BUFFER
986 root 1.1 const_iv(COMMAND_COPY_BUFFER)
987 root 1.3 #endif
988     #ifdef CL_COMMAND_READ_IMAGE
989 root 1.1 const_iv(COMMAND_READ_IMAGE)
990 root 1.3 #endif
991     #ifdef CL_COMMAND_WRITE_IMAGE
992 root 1.1 const_iv(COMMAND_WRITE_IMAGE)
993 root 1.3 #endif
994     #ifdef CL_COMMAND_COPY_IMAGE
995 root 1.1 const_iv(COMMAND_COPY_IMAGE)
996 root 1.3 #endif
997     #ifdef CL_COMMAND_COPY_IMAGE_TO_BUFFER
998 root 1.1 const_iv(COMMAND_COPY_IMAGE_TO_BUFFER)
999 root 1.3 #endif
1000     #ifdef CL_COMMAND_COPY_BUFFER_TO_IMAGE
1001 root 1.1 const_iv(COMMAND_COPY_BUFFER_TO_IMAGE)
1002 root 1.3 #endif
1003     #ifdef CL_COMMAND_MAP_BUFFER
1004 root 1.1 const_iv(COMMAND_MAP_BUFFER)
1005 root 1.3 #endif
1006     #ifdef CL_COMMAND_MAP_IMAGE
1007 root 1.1 const_iv(COMMAND_MAP_IMAGE)
1008 root 1.3 #endif
1009     #ifdef CL_COMMAND_UNMAP_MEM_OBJECT
1010 root 1.1 const_iv(COMMAND_UNMAP_MEM_OBJECT)
1011 root 1.3 #endif
1012     #ifdef CL_COMMAND_MARKER
1013 root 1.1 const_iv(COMMAND_MARKER)
1014 root 1.3 #endif
1015     #ifdef CL_COMMAND_ACQUIRE_GL_OBJECTS
1016 root 1.1 const_iv(COMMAND_ACQUIRE_GL_OBJECTS)
1017 root 1.3 #endif
1018     #ifdef CL_COMMAND_RELEASE_GL_OBJECTS
1019 root 1.1 const_iv(COMMAND_RELEASE_GL_OBJECTS)
1020 root 1.3 #endif
1021     #ifdef CL_COMMAND_READ_BUFFER_RECT
1022 root 1.1 const_iv(COMMAND_READ_BUFFER_RECT)
1023 root 1.3 #endif
1024     #ifdef CL_COMMAND_WRITE_BUFFER_RECT
1025 root 1.1 const_iv(COMMAND_WRITE_BUFFER_RECT)
1026 root 1.3 #endif
1027     #ifdef CL_COMMAND_COPY_BUFFER_RECT
1028 root 1.1 const_iv(COMMAND_COPY_BUFFER_RECT)
1029 root 1.3 #endif
1030     #ifdef CL_COMMAND_USER
1031 root 1.1 const_iv(COMMAND_USER)
1032 root 1.3 #endif
1033 root 1.4 #ifdef CL_COMMAND_BARRIER
1034     const_iv(COMMAND_BARRIER)
1035     #endif
1036     #ifdef CL_COMMAND_MIGRATE_MEM_OBJECTS
1037     const_iv(COMMAND_MIGRATE_MEM_OBJECTS)
1038     #endif
1039     #ifdef CL_COMMAND_FILL_BUFFER
1040     const_iv(COMMAND_FILL_BUFFER)
1041     #endif
1042     #ifdef CL_COMMAND_FILL_IMAGE
1043     const_iv(COMMAND_FILL_IMAGE)
1044     #endif
1045 root 1.3 #ifdef CL_COMPLETE
1046 root 1.1 const_iv(COMPLETE)
1047 root 1.3 #endif
1048     #ifdef CL_RUNNING
1049 root 1.1 const_iv(RUNNING)
1050 root 1.3 #endif
1051     #ifdef CL_SUBMITTED
1052 root 1.1 const_iv(SUBMITTED)
1053 root 1.3 #endif
1054     #ifdef CL_QUEUED
1055 root 1.1 const_iv(QUEUED)
1056 root 1.3 #endif
1057     #ifdef CL_BUFFER_CREATE_TYPE_REGION
1058 root 1.1 const_iv(BUFFER_CREATE_TYPE_REGION)
1059 root 1.3 #endif
1060     #ifdef CL_PROFILING_COMMAND_QUEUED
1061 root 1.1 const_iv(PROFILING_COMMAND_QUEUED)
1062 root 1.3 #endif
1063     #ifdef CL_PROFILING_COMMAND_SUBMIT
1064 root 1.1 const_iv(PROFILING_COMMAND_SUBMIT)
1065 root 1.3 #endif
1066     #ifdef CL_PROFILING_COMMAND_START
1067 root 1.1 const_iv(PROFILING_COMMAND_START)
1068 root 1.3 #endif
1069     #ifdef CL_PROFILING_COMMAND_END
1070 root 1.1 const_iv(PROFILING_COMMAND_END)
1071 root 1.3 #endif
1072     #ifdef CL_DEVICE_DOUBLE_FP_CONFIG
1073 root 1.2 const_iv(DEVICE_DOUBLE_FP_CONFIG)
1074 root 1.3 #endif
1075     #ifdef CL_DEVICE_HALF_FP_CONFIG
1076 root 1.2 const_iv(DEVICE_HALF_FP_CONFIG)
1077 root 1.3 #endif
1078     #ifdef CL_PLATFORM_ICD_SUFFIX_KHR
1079 root 1.2 const_iv(PLATFORM_ICD_SUFFIX_KHR)
1080 root 1.3 #endif
1081     #ifdef CL_PLATFORM_NOT_FOUND_KHR
1082 root 1.2 const_iv(PLATFORM_NOT_FOUND_KHR)
1083 root 1.3 #endif
1084     #ifdef CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV
1085 root 1.2 const_iv(DEVICE_COMPUTE_CAPABILITY_MAJOR_NV)
1086 root 1.3 #endif
1087     #ifdef CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV
1088 root 1.2 const_iv(DEVICE_COMPUTE_CAPABILITY_MINOR_NV)
1089 root 1.3 #endif
1090     #ifdef CL_DEVICE_REGISTERS_PER_BLOCK_NV
1091 root 1.2 const_iv(DEVICE_REGISTERS_PER_BLOCK_NV)
1092 root 1.3 #endif
1093     #ifdef CL_DEVICE_WARP_SIZE_NV
1094 root 1.2 const_iv(DEVICE_WARP_SIZE_NV)
1095 root 1.3 #endif
1096     #ifdef CL_DEVICE_GPU_OVERLAP_NV
1097 root 1.2 const_iv(DEVICE_GPU_OVERLAP_NV)
1098 root 1.3 #endif
1099     #ifdef CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV
1100 root 1.2 const_iv(DEVICE_KERNEL_EXEC_TIMEOUT_NV)
1101 root 1.3 #endif
1102     #ifdef CL_DEVICE_INTEGRATED_MEMORY_NV
1103 root 1.2 const_iv(DEVICE_INTEGRATED_MEMORY_NV)
1104 root 1.3 #endif
1105     #ifdef CL_DEVICE_PROFILING_TIMER_OFFSET_AMD
1106 root 1.2 const_iv(DEVICE_PROFILING_TIMER_OFFSET_AMD)
1107 root 1.3 #endif
1108     #ifdef CL_GL_OBJECT_BUFFER
1109     const_iv(GL_OBJECT_BUFFER)
1110     #endif
1111     #ifdef CL_GL_OBJECT_TEXTURE2D
1112     const_iv(GL_OBJECT_TEXTURE2D)
1113     #endif
1114     #ifdef CL_GL_OBJECT_TEXTURE3D
1115     const_iv(GL_OBJECT_TEXTURE3D)
1116     #endif
1117     #ifdef CL_GL_OBJECT_RENDERBUFFER
1118     const_iv(GL_OBJECT_RENDERBUFFER)
1119     #endif
1120 root 1.4 #ifdef CL_GL_OBJECT_TEXTURE2D_ARRAY
1121     const_iv(GL_OBJECT_TEXTURE2D_ARRAY)
1122     #endif
1123     #ifdef CL_GL_OBJECT_TEXTURE1D
1124     const_iv(GL_OBJECT_TEXTURE1D)
1125     #endif
1126     #ifdef CL_GL_OBJECT_TEXTURE1D_ARRAY
1127     const_iv(GL_OBJECT_TEXTURE1D_ARRAY)
1128     #endif
1129     #ifdef CL_GL_OBJECT_TEXTURE_BUFFER
1130     const_iv(GL_OBJECT_TEXTURE_BUFFER)
1131     #endif
1132 root 1.3 #ifdef CL_GL_TEXTURE_TARGET
1133     const_iv(GL_TEXTURE_TARGET)
1134     #endif
1135     #ifdef CL_GL_MIPMAP_LEVEL
1136     const_iv(GL_MIPMAP_LEVEL)
1137     #endif
1138     #ifdef CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR
1139     const_iv(INVALID_GL_SHAREGROUP_REFERENCE_KHR)
1140     #endif
1141     #ifdef CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR
1142     const_iv(CURRENT_DEVICE_FOR_GL_CONTEXT_KHR)
1143     #endif
1144     #ifdef CL_DEVICES_FOR_GL_CONTEXT_KHR
1145     const_iv(DEVICES_FOR_GL_CONTEXT_KHR)
1146     #endif
1147     #ifdef CL_GL_CONTEXT_KHR
1148     const_iv(GL_CONTEXT_KHR)
1149     #endif
1150     #ifdef CL_EGL_DISPLAY_KHR
1151     const_iv(EGL_DISPLAY_KHR)
1152     #endif
1153     #ifdef CL_GLX_DISPLAY_KHR
1154     const_iv(GLX_DISPLAY_KHR)
1155     #endif
1156     #ifdef CL_WGL_HDC_KHR
1157     const_iv(WGL_HDC_KHR)
1158     #endif
1159     #ifdef CL_CGL_SHAREGROUP_KHR
1160     const_iv(CGL_SHAREGROUP_KHR)
1161     #endif
1162     #ifdef CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR
1163     const_iv(COMMAND_GL_FENCE_SYNC_OBJECT_KHR)
1164     #endif
1165     #ifdef CL_INVALID_D3D10_DEVICE_KHR
1166     const_iv(INVALID_D3D10_DEVICE_KHR)
1167     #endif
1168     #ifdef CL_INVALID_D3D10_RESOURCE_KHR
1169     const_iv(INVALID_D3D10_RESOURCE_KHR)
1170     #endif
1171     #ifdef CL_D3D10_RESOURCE_ALREADY_ACQUIRED_KHR
1172     const_iv(D3D10_RESOURCE_ALREADY_ACQUIRED_KHR)
1173     #endif
1174     #ifdef CL_D3D10_RESOURCE_NOT_ACQUIRED_KHR
1175     const_iv(D3D10_RESOURCE_NOT_ACQUIRED_KHR)
1176     #endif
1177     #ifdef CL_D3D10_DEVICE_KHR
1178     const_iv(D3D10_DEVICE_KHR)
1179     #endif
1180     #ifdef CL_D3D10_DXGI_ADAPTER_KHR
1181     const_iv(D3D10_DXGI_ADAPTER_KHR)
1182     #endif
1183     #ifdef CL_PREFERRED_DEVICES_FOR_D3D10_KHR
1184     const_iv(PREFERRED_DEVICES_FOR_D3D10_KHR)
1185     #endif
1186     #ifdef CL_ALL_DEVICES_FOR_D3D10_KHR
1187     const_iv(ALL_DEVICES_FOR_D3D10_KHR)
1188     #endif
1189     #ifdef CL_CONTEXT_D3D10_DEVICE_KHR
1190     const_iv(CONTEXT_D3D10_DEVICE_KHR)
1191     #endif
1192     #ifdef CL_CONTEXT_D3D10_PREFER_SHARED_RESOURCES_KHR
1193     const_iv(CONTEXT_D3D10_PREFER_SHARED_RESOURCES_KHR)
1194     #endif
1195     #ifdef CL_MEM_D3D10_RESOURCE_KHR
1196     const_iv(MEM_D3D10_RESOURCE_KHR)
1197     #endif
1198     #ifdef CL_IMAGE_D3D10_SUBRESOURCE_KHR
1199     const_iv(IMAGE_D3D10_SUBRESOURCE_KHR)
1200     #endif
1201     #ifdef CL_COMMAND_ACQUIRE_D3D10_OBJECTS_KHR
1202     const_iv(COMMAND_ACQUIRE_D3D10_OBJECTS_KHR)
1203     #endif
1204     #ifdef CL_COMMAND_RELEASE_D3D10_OBJECTS_KHR
1205     const_iv(COMMAND_RELEASE_D3D10_OBJECTS_KHR)
1206     #endif