-
Notifications
You must be signed in to change notification settings - Fork 117
/
Copy pathcl.xml
7506 lines (7319 loc) · 483 KB
/
cl.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<comment>
Copyright 2013-2024 The Khronos Group Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
---- Exceptions to the Apache 2.0 License: ----
As an exception, if you use this Software to generate code and portions of
this Software are embedded into the generated code as a result, you may
redistribute such product without providing attribution as would otherwise
be required by Sections 4(a), 4(b) and 4(d) of the License.
In addition, if you combine or link code generated by this Software with
software that is licensed under the GPLv2 or the LGPL v2.0 or 2.1
("`Combined Software`") and if a court of competent jurisdiction determines
that the patent provision (Section 3), the indemnity provision (Section 9)
or other Section of the License conflicts with the conditions of the
applicable GPL or LGPL license, you may retroactively and prospectively
choose to deem waived or otherwise exclude such Section(s) of the License,
but only in their entirety and only with respect to the Combined Software.
</comment>
<comment>
This file, cl.xml, is the OpenCL API Registry. It is a critically important
and normative part of the OpenCL API Specification, including a canonical
machine-readable definition of the API, parameter and member validation
language incorporated into the Specification and reference pages, and other
material which is registered by Khronos.
The authoritative public version of cl.xml is maintained in the `main`
branch of the Khronos OpenCL-Docs GitHub repository. The authoritative
private version is maintained in the master branch of the member gitlab
server's OpenCL/api-docs repository.
</comment>
<types comment="OpenCL type definitions">
<comment>These are dependencies CL types require to be declared legally</comment>
<type category="include" name="stdint">#include <stdint.h></type>
<comment>Windows headers and types</comment>
<type category="include" name="d3d10.h">#include <d3d10.h></type>
<type category="include" name="d3d11.h">#include <d3d11.h></type>
<type category="include" name="d3d9.h">#include <d3d9.h></type>
<type category="include" name="d3d9types.h">#include <d3d9types.h></type>
<type category="include" name="dxgiformat.h">#include <dxgiformat.h></type>
<type category="include" name="dxvahd.h">#include <dxvahd.h></type>
<type category="include" name="wtypes.h">#include <wtypes.h></type>
<type category="include" name="ID3D10Buffer" requires="d3d10.h"/>
<type category="include" name="ID3D10Texture2D" requires="d3d10.h"/>
<type category="include" name="ID3D10Texture3D" requires="d3d10.h"/>
<type category="include" name="ID3D11Buffer" requires="d3d11.h"/>
<type category="include" name="ID3D11Texture2D" requires="d3d11.h"/>
<type category="include" name="ID3D11Texture3D" requires="d3d11.h"/>
<type category="include" name="IDirect3DSurface9" requires="d3d9.h"/>
<type category="include" name="D3DFORMAT" requires="d3d9types.h"/>
<type category="include" name="HANDLE" requires="d3d9types.h"/>
<type category="include" name="DXGI_FORMAT" requires="dxgiformat.h"/>
<type category="include" name="UINT" comment="Requires one of the D3D headers, which in turn probably pulls in windows.h"/>
<comment>Non-CL headers and types</comment>
<type category="include" name="va/va.h">#include <va/va.h></type>
<type category="include" name="VASurfaceID" requires="va/va.h"/>
<type category="include" name="VAImageFormat" requires="va/va.h"/>
<comment>CL headers and types</comment>
<type category="include" name="CL/cl.h">#include <CL/cl.h></type>
<type category="include" name="CL/cl_platform.h">#include <CL/cl_platform.h></type>
<type category="include" name="CL/cl_gl.h">#include <CL/cl_gl.h></type>
<type category="include" name="CL/cl_version.h">#include <CL/cl_version.h></type>
<comment>Basic C types, pulled in via platform header in some cases</comment>
<type category="basetype" requires="CL/cl_platform.h" name="void"/>
<type category="basetype" requires="CL/cl_platform.h" name="char"/>
<type category="basetype" requires="CL/cl_platform.h" name="int"/>
<type category="basetype" requires="CL/cl_platform.h" name="unsigned char"/>
<type category="basetype" requires="CL/cl_platform.h" name="unsigned int"/>
<type category="basetype" requires="CL/cl_platform.h" name="intptr_t"/>
<type category="basetype" requires="CL/cl_platform.h" name="size_t"/>
<type category="basetype" requires="CL/cl_platform.h" name="float"/>
<type category="basetype" requires="CL/cl_platform.h" name="double"/>
<type category="basetype" requires="CL/cl_platform.h" name="int8_t"/>
<type category="basetype" requires="CL/cl_platform.h" name="int16_t"/>
<type category="basetype" requires="CL/cl_platform.h" name="int32_t"/>
<type category="basetype" requires="CL/cl_platform.h" name="int64_t"/>
<type category="basetype" requires="CL/cl_platform.h" name="uint8_t"/>
<type category="basetype" requires="CL/cl_platform.h" name="uint16_t"/>
<type category="basetype" requires="CL/cl_platform.h" name="uint32_t"/>
<type category="basetype" requires="CL/cl_platform.h" name="uint64_t"/>
<comment>Scalar types</comment>
<type category="define" requires="stdint">typedef <type>double</type> <name>cl_double</name> __attribute__((aligned(8)));</type>
<type category="define" requires="stdint">typedef <type>float</type> <name>cl_float</name> __attribute__((aligned(4)));</type>
<type category="define" requires="stdint">typedef <type>int16_t</type> <name>cl_short</name> __attribute__((aligned(2)));</type>
<type category="define" requires="stdint">typedef <type>int32_t</type> <name>cl_int</name> __attribute__((aligned(4)));</type>
<type category="define" requires="stdint">typedef <type>int64_t</type> <name>cl_long</name> __attribute__((aligned(8)));</type>
<type category="define" requires="stdint">typedef <type>int8_t</type> <name>cl_char</name>;</type>
<type category="define" requires="stdint">typedef <type>uint8_t</type> <name>cl_uchar</name>;</type>
<type category="define" requires="stdint">typedef <type>uint16_t</type> <name>cl_half</name> __attribute__((aligned(2)));</type>
<type category="define" requires="stdint">typedef <type>uint16_t</type> <name>cl_ushort</name> __attribute__((aligned(2)));</type>
<type category="define" requires="stdint">typedef <type>uint32_t</type> <name>cl_uint</name> __attribute__((aligned(4)));</type>
<type category="define" requires="stdint">typedef <type>uint64_t</type> <name>cl_ulong</name> __attribute__((aligned(8)));</type>
<type category="define">typedef <type>int</type> <name>cl_GLint</name>;</type>
<type category="define">typedef <type>unsigned int</type> <name>cl_GLenum</name>;</type>
<type category="define">typedef <type>unsigned int</type> <name>cl_GLuint</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_d3d11_device_source_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_d3d11_device_set_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_dx9_media_adapter_type_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_dx9_media_adapter_set_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_d3d10_device_source_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_d3d10_device_set_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_dx9_device_source_intel</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_dx9_device_set_intel</name>;</type>
<type category="define">typedef struct _cl_accelerator_intel* <name>cl_accelerator_intel</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_accelerator_type_intel</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_accelerator_info_intel</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_diagnostic_verbose_level_intel</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_va_api_device_source_intel</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_va_api_device_set_intel</name>;</type>
<type category="define">typedef struct __GLsync * <name>cl_GLsync</name>;</type>
<type category="define">typedef <type>void</type>* <name>CLeglImageKHR</name>;</type>
<type category="define">typedef <type>void</type>* <name>CLeglDisplayKHR</name>;</type>
<type category="define">typedef <type>void</type>* <name>CLeglSyncKHR</name>;</type>
<type category="define">typedef <type>intptr_t</type> <name>cl_egl_image_properties_khr</name>;</type>
<type category="define">typedef <type>cl_ulong</type> <name>cl_device_partition_property_ext</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_mem_migration_flags_ext</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_image_pitch_info_qcom</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_queue_priority_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_queue_throttle_khr</name>;</type>
<type category="define">typedef <type>intptr_t</type> <name>cl_import_properties_arm</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_svm_mem_flags_arm</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_kernel_exec_info_arm</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_svm_capabilities_arm</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_gl_context_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_gl_object_type</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_gl_texture_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_gl_platform_info</name>;</type>
<type category="define">typedef struct _cl_platform_id * <name>cl_platform_id</name>;</type>
<type category="define">typedef struct _cl_device_id * <name>cl_device_id</name>;</type>
<type category="define">typedef struct _cl_context * <name>cl_context</name>;</type>
<type category="define">typedef struct _cl_command_queue * <name>cl_command_queue</name>;</type>
<type category="define">typedef struct _cl_mem * <name>cl_mem</name>;</type>
<type category="define">typedef struct _cl_program * <name>cl_program</name>;</type>
<type category="define">typedef struct _cl_kernel * <name>cl_kernel</name>;</type>
<type category="define">typedef struct _cl_event * <name>cl_event</name>;</type>
<type category="define">typedef struct _cl_sampler * <name>cl_sampler</name>;</type>
<type category="define">typedef struct _cl_semaphore_khr * <name>cl_semaphore_khr</name>;</type>
<type category="define" comment="Unlike cl_platform.h types, not guaranteed to be the same size as kernel bool">typedef <type>cl_uint</type> <name>cl_bool</name>;</type>
<type category="define">typedef <type>cl_ulong</type> <name>cl_bitfield</name>;</type>
<type category="define">typedef <type>cl_ulong</type> <name>cl_properties</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_type</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_platform_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_device_info</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_fp_config</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_device_mem_cache_type</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_device_local_mem_type</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_exec_capabilities</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_svm_capabilities</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_command_queue_properties</name>;</type>
<type category="define">typedef <type>intptr_t</type> <name>cl_device_partition_property</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_affinity_domain</name>;</type>
<type category="define">typedef <type>intptr_t</type> <name>cl_context_properties</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_context_info</name>;</type>
<type category="define">typedef <type>cl_properties</type> <name>cl_queue_properties</name>;</type>
<type category="define">typedef <type>cl_properties</type> <name>cl_queue_properties_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_command_queue_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_channel_order</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_channel_type</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_mem_flags</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_svm_mem_flags</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_mem_object_type</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_mem_info</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_mem_migration_flags</name>;</type>
<type category="define">typedef <type>cl_properties</type> <name>cl_mem_properties</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_image_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_buffer_create_type</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_addressing_mode</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_filter_mode</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_sampler_info</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_map_flags</name>;</type>
<type category="define">typedef <type>intptr_t</type> <name>cl_pipe_properties</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_pipe_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_program_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_program_build_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_program_binary_type</name>;</type>
<type category="define">typedef <type>cl_int</type> <name>cl_build_status</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_kernel_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_kernel_arg_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_kernel_arg_address_qualifier</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_kernel_arg_access_qualifier</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_kernel_arg_type_qualifier</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_kernel_work_group_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_kernel_sub_group_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_event_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_command_type</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_profiling_info</name>;</type>
<type category="define">typedef <type>cl_properties</type> <name>cl_sampler_properties</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_kernel_exec_info</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_context_memory_initialize_khr</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_terminate_capability_khr</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_unified_shared_memory_capabilities_intel</name>;</type>
<type category="define">typedef <type>cl_properties</type> <name>cl_mem_properties_intel</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_mem_alloc_flags_intel</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_mem_info_intel</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_unified_shared_memory_type_intel</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_mem_advice_intel</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_atomic_capabilities</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_khronos_vendor_id</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_version</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_version_khr</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_device_enqueue_capabilities</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_mipmap_filter_mode_img</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_mem_alloc_flags_img</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_layer_info</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_layer_api_version</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_icdl_info</name>;</type>
<type category="define">typedef struct _cl_icd_dispatch <name>cl_icd_dispatch</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_scheduling_controls_capabilities_arm</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_controlled_termination_capabilities_arm</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_command_queue_capabilities_intel</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_feature_capabilities_intel</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_integer_dot_product_capabilities_khr</name>;</type>
<type category="define">typedef <type>cl_properties</type> <name>cl_semaphore_properties_khr</name>;</type>
<type category="define">typedef <type>cl_properties</type> <name>cl_semaphore_reimport_properties_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_semaphore_info_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_semaphore_type_khr</name>;</type>
<type category="define">typedef <type>cl_ulong</type> <name>cl_semaphore_payload_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_external_semaphore_handle_type_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_external_memory_handle_type_khr</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_command_buffer_capabilities_khr</name>;</type>
<type category="define">typedef struct _cl_command_buffer_khr* <name>cl_command_buffer_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_sync_point_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_command_buffer_info_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_command_buffer_state_khr</name>;</type>
<type category="define">typedef <type>cl_properties</type> <name>cl_command_buffer_properties_khr</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_command_buffer_flags_khr</name>;</type>
<type category="define">typedef <type>cl_properties</type> <name>cl_command_properties_khr</name>;</type>
<type category="define">typedef struct _cl_mutable_command_khr* <name>cl_mutable_command_khr</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_mutable_dispatch_fields_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_mutable_command_info_khr</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_command_buffer_update_type_khr</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_fp_atomic_capabilities_ext</name>;</type>
<type category="define">typedef <type>cl_uint</type> <name>cl_image_requirements_info_ext</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_platform_command_buffer_capabilities_khr</name>;</type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_mutable_dispatch_asserts_khr</name></type>
<type category="define">typedef <type>cl_bitfield</type> <name>cl_device_kernel_clock_capabilities_khr</name>;</type>
<comment>Structure types</comment>
<type category="struct" name="cl_dx9_surface_info_khr">
<member><type>IDirect3DSurface9</type>* <name>resource</name></member>
<member><type>HANDLE</type> <name>shared_handle</name></member>
</type>
<type category="struct" name="cl_motion_estimation_desc_intel">
<member><type>cl_uint</type> <name>mb_block_type</name></member>
<member><type>cl_uint</type> <name>subpixel_mode</name></member>
<member><type>cl_uint</type> <name>sad_adjust_mode</name></member>
<member><type>cl_uint</type> <name>search_path_type</name></member>
</type>
<type category="struct" name="cl_mem_ext_host_ptr">
<member><type>cl_uint</type> <name>allocation_type</name></member>
<member><type>cl_uint</type> <name>host_cache_policy</name></member>
</type>
<type category="struct" name="cl_mem_ion_host_ptr">
<member><type>cl_mem_ext_host_ptr</type> <name>ext_host_ptr</name></member>
<member><type>int</type> <name>ion_filedesc</name></member>
<member><type>void</type>* <name>ion_hostptr</name></member>
</type>
<type category="struct" name="cl_mem_android_native_buffer_host_ptr">
<member><type>cl_mem_ext_host_ptr</type> <name>ext_host_ptr</name></member>
<member><type>void</type>* <name>anb_ptr</name></member>
</type>
<type category="struct" name="cl_image_format">
<member><type>cl_channel_order</type> <name>image_channel_order</name></member>
<member><type>cl_channel_type</type> <name>image_channel_data_type</name></member>
</type>
<type category="struct" name="cl_image_desc">
<member><type>cl_mem_object_type</type> <name>image_type</name></member>
<member><type>size_t</type> <name>image_width</name></member>
<member><type>size_t</type> <name>image_height</name></member>
<member><type>size_t</type> <name>image_depth</name></member>
<member><type>size_t</type> <name>image_array_size</name></member>
<member><type>size_t</type> <name>image_row_pitch</name></member>
<member><type>size_t</type> <name>image_slice_pitch</name></member>
<member><type>cl_uint</type> <name>num_mip_levels</name></member>
<member><type>cl_uint</type> <name>num_samples</name></member>
<!-- Can't properly express this in XML schema yet - use name/ tag to align? -->
<member>union {
cl_mem buffer;
cl_mem mem_object;
}</member>
</type>
<type category="struct" name="cl_buffer_region">
<member><type>size_t</type> <name>origin</name></member>
<member><type>size_t</type> <name>size</name></member>
</type>
<type category="struct" name="cl_name_version">
<member><type>cl_version</type> <name>version</name></member>
<member><type>char</type> <name>name</name>[<enum>CL_NAME_VERSION_MAX_NAME_SIZE</enum>]</member>
</type>
<type category="struct" name="cl_name_version_khr">
<member><type>cl_version_khr</type> <name>version</name></member>
<member><type>char</type> <name>name</name>[<enum>CL_NAME_VERSION_MAX_NAME_SIZE_KHR</enum>]</member>
</type>
<type category="struct" name="cl_device_pci_bus_info_khr">
<member><type>cl_uint</type> <name>pci_domain</name></member>
<member><type>cl_uint</type> <name>pci_bus</name></member>
<member><type>cl_uint</type> <name>pci_device</name></member>
<member><type>cl_uint</type> <name>pci_function</name></member>
</type>
<type category="struct" name="cl_queue_family_properties_intel">
<member><type>cl_command_queue_properties</type> <name>properties</name></member>
<member><type>cl_command_queue_capabilities_intel</type> <name>capabilities</name></member>
<member><type>cl_uint</type> <name>count</name></member>
<member><type>char</type> <name>name</name>[<enum>CL_QUEUE_FAMILY_MAX_NAME_SIZE_INTEL</enum>]</member>
</type>
<type category="define">#define <name>CL_VERSION_MAJOR_MASK</name> ((1 << CL_VERSION_MAJOR_BITS) - 1)</type>
<type category="define">#define <name>CL_VERSION_MINOR_MASK</name> ((1 << CL_VERSION_MINOR_BITS) - 1)</type>
<type category="define">#define <name>CL_VERSION_PATCH_MASK</name> ((1 << CL_VERSION_PATCH_BITS) - 1)</type>
<type category="define">#define <name>CL_VERSION_MAJOR</name>(version) ((version) >> (CL_VERSION_MINOR_BITS + CL_VERSION_PATCH_BITS))</type>
<type category="define">#define <name>CL_VERSION_MINOR</name>(version) (((version) >> CL_VERSION_PATCH_BITS) & CL_VERSION_MINOR_MASK)</type>
<type category="define">#define <name>CL_VERSION_PATCH</name>(version) ((version) & CL_VERSION_PATCH_MASK)</type>
<type category="define">#define <name>CL_MAKE_VERSION</name>(major, minor, patch) \
((((major) & CL_VERSION_MAJOR_MASK) << (CL_VERSION_MINOR_BITS + CL_VERSION_PATCH_BITS)) | \
(((minor) & CL_VERSION_MINOR_MASK) << CL_VERSION_PATCH_BITS) | \
((patch) & CL_VERSION_PATCH_MASK))</type>
<type category="define">#define <name>CL_VERSION_MAJOR_MASK_KHR</name> ((1 << CL_VERSION_MAJOR_BITS_KHR) - 1)</type>
<type category="define">#define <name>CL_VERSION_MINOR_MASK_KHR</name> ((1 << CL_VERSION_MINOR_BITS_KHR) - 1)</type>
<type category="define">#define <name>CL_VERSION_PATCH_MASK_KHR</name> ((1 << CL_VERSION_PATCH_BITS_KHR) - 1)</type>
<type category="define">#define <name>CL_VERSION_MAJOR_KHR</name>(version) ((version) >> (CL_VERSION_MINOR_BITS_KHR + CL_VERSION_PATCH_BITS_KHR))</type>
<type category="define">#define <name>CL_VERSION_MINOR_KHR</name>(version) (((version) >> CL_VERSION_PATCH_BITS_KHR) & CL_VERSION_MINOR_MASK_KHR)</type>
<type category="define">#define <name>CL_VERSION_PATCH_KHR</name>(version) ((version) & CL_VERSION_PATCH_MASK_KHR)</type>
<type category="define">#define <name>CL_MAKE_VERSION_KHR</name>(major, minor, patch) \
((((major) & CL_VERSION_MAJOR_MASK_KHR) << (CL_VERSION_MINOR_BITS_KHR + CL_VERSION_PATCH_BITS_KHR)) | \
(((minor) & CL_VERSION_MINOR_MASK_KHR) << CL_VERSION_PATCH_BITS_KHR) | \
((patch) & CL_VERSION_PATCH_MASK_KHR))</type>
<type category="struct" name="cl_device_integer_dot_product_acceleration_properties_khr">
<member><type>cl_bool</type> <name>signed_accelerated</name></member>
<member><type>cl_bool</type> <name>unsigned_accelerated</name></member>
<member><type>cl_bool</type> <name>mixed_signedness_accelerated</name></member>
<member><type>cl_bool</type> <name>accumulating_saturating_signed_accelerated</name></member>
<member><type>cl_bool</type> <name>accumulating_saturating_unsigned_accelerated</name></member>
<member><type>cl_bool</type> <name>accumulating_saturating_mixed_signedness_accelerated</name></member>
</type>
<type category="struct" name="cl_mutable_dispatch_arg_khr">
<member><type>cl_uint</type> <name>arg_index</name></member>
<member><type>size_t</type> <name>arg_size</name></member>
<member>const <type>void</type>* <name>arg_value</name></member>
</type>
<type category="struct" name="cl_mutable_dispatch_exec_info_khr">
<member><type>cl_uint</type> <name>param_name</name></member>
<member><type>size_t</type> <name>param_value_size</name></member>
<member>const <type>void</type>* <name>param_value</name></member>
</type>
<type category="struct" name="cl_mutable_dispatch_config_khr">
<member><type>cl_mutable_command_khr</type> <name>command</name></member>
<member><type>cl_uint</type> <name>num_args</name></member>
<member><type>cl_uint</type> <name>num_svm_args</name></member>
<member><type>cl_uint</type> <name>num_exec_infos</name></member>
<member><type>cl_uint</type> <name>work_dim</name></member>
<member>const <type>cl_mutable_dispatch_arg_khr</type>* <name>arg_list</name></member>
<member>const <type>cl_mutable_dispatch_arg_khr</type>* <name>arg_svm_list</name></member>
<member>const <type>cl_mutable_dispatch_exec_info_khr</type>* <name>exec_info_list</name></member>
<member>const <type>size_t</type>* <name>global_work_offset</name></member>
<member>const <type>size_t</type>* <name>global_work_size</name></member>
<member>const <type>size_t</type>* <name>local_work_size</name></member>
</type>
</types>
<!-- SECTION: OpenCL enumerant (token) definitions. -->
<!-- There are a variety of namespaces corresponding to different
parameter types, including bitmasks in their own namespaces -->
<enums name="Constants" vendor="Khronos" comment="Miscellaneous API constants, in cl_platform.h">
<enum value="8" name="CL_CHAR_BIT"/>
<enum value="127" name="CL_SCHAR_MAX"/>
<enum value="(-127-1)" name="CL_SCHAR_MIN"/>
<enum value="CL_SCHAR_MAX" name="CL_CHAR_MAX"/>
<enum value="CL_SCHAR_MIN" name="CL_CHAR_MIN"/>
<enum value="255" name="CL_UCHAR_MAX"/>
<enum value="32767" name="CL_SHRT_MAX"/>
<enum value="(-32767-1)" name="CL_SHRT_MIN"/>
<enum value="65535" name="CL_USHRT_MAX"/>
<enum value="2147483647" name="CL_INT_MAX"/>
<enum value="(-2147483647-1)" name="CL_INT_MIN"/>
<enum value="0xffffffffU" name="CL_UINT_MAX"/>
<enum value="((cl_long) 0x7FFFFFFFFFFFFFFFLL)" name="CL_LONG_MAX"/>
<enum value="((cl_long) -0x7FFFFFFFFFFFFFFFLL - 1LL)" name="CL_LONG_MIN"/>
<enum value="((cl_ulong) 0xFFFFFFFFFFFFFFFFULL)" name="CL_ULONG_MAX"/>
<enum value="6" name="CL_FLT_DIG"/>
<enum value="24" name="CL_FLT_MANT_DIG"/>
<enum value="+38" name="CL_FLT_MAX_10_EXP"/>
<enum value="+128" name="CL_FLT_MAX_EXP"/>
<enum value="-37" name="CL_FLT_MIN_10_EXP"/>
<enum value="-125" name="CL_FLT_MIN_EXP"/>
<enum value="2" name="CL_FLT_RADIX"/>
<enum value="340282346638528859811704183484516925440.0f" name="CL_FLT_MAX"/>
<enum value="1.175494350822287507969e-38f" name="CL_FLT_MIN"/>
<enum value="1.1920928955078125e-7f" name="CL_FLT_EPSILON"/>
<enum value="3" name="CL_HALF_DIG"/>
<enum value="11" name="CL_HALF_MANT_DIG"/>
<enum value="+4" name="CL_HALF_MAX_10_EXP"/>
<enum value="+16" name="CL_HALF_MAX_EXP"/>
<enum value="-4" name="CL_HALF_MIN_10_EXP"/>
<enum value="-13" name="CL_HALF_MIN_EXP"/>
<enum value="2" name="CL_HALF_RADIX"/>
<enum value="65504.0f" name="CL_HALF_MAX"/>
<enum value="6.103515625e-05f" name="CL_HALF_MIN"/>
<enum value="9.765625e-04f" name="CL_HALF_EPSILON"/>
<enum value="15" name="CL_DBL_DIG"/>
<enum value="53" name="CL_DBL_MANT_DIG"/>
<enum value="+308" name="CL_DBL_MAX_10_EXP"/>
<enum value="+1024" name="CL_DBL_MAX_EXP"/>
<enum value="-307" name="CL_DBL_MIN_10_EXP"/>
<enum value="-1021" name="CL_DBL_MIN_EXP"/>
<enum value="2" name="CL_DBL_RADIX"/>
<enum value="1.7976931348623158e+308" name="CL_DBL_MAX"/>
<enum value="2.225073858507201383090e-308" name="CL_DBL_MIN"/>
<enum value="2.220446049250313080847e-16" name="CL_DBL_EPSILON"/>
<enum value="2.7182818284590452354" name="CL_M_E"/>
<enum value="1.4426950408889634074" name="CL_M_LOG2E"/>
<enum value="0.43429448190325182765" name="CL_M_LOG10E"/>
<enum value="0.69314718055994530942" name="CL_M_LN2"/>
<enum value="2.30258509299404568402" name="CL_M_LN10"/>
<enum value="3.14159265358979323846" name="CL_M_PI"/>
<enum value="1.57079632679489661923" name="CL_M_PI_2"/>
<enum value="0.78539816339744830962" name="CL_M_PI_4"/>
<enum value="0.31830988618379067154" name="CL_M_1_PI"/>
<enum value="0.63661977236758134308" name="CL_M_2_PI"/>
<enum value="1.12837916709551257390" name="CL_M_2_SQRTPI"/>
<enum value="1.41421356237309504880" name="CL_M_SQRT2"/>
<enum value="0.70710678118654752440" name="CL_M_SQRT1_2"/>
<enum value="2.718281828f" name="CL_M_E_F"/>
<enum value="1.442695041f" name="CL_M_LOG2E_F"/>
<enum value="0.434294482f" name="CL_M_LOG10E_F"/>
<enum value="0.693147181f" name="CL_M_LN2_F"/>
<enum value="2.302585093f" name="CL_M_LN10_F"/>
<enum value="3.141592654f" name="CL_M_PI_F"/>
<enum value="1.570796327f" name="CL_M_PI_2_F"/>
<enum value="0.785398163f" name="CL_M_PI_4_F"/>
<enum value="0.318309886f" name="CL_M_1_PI_F"/>
<enum value="0.636619772f" name="CL_M_2_PI_F"/>
<enum value="1.128379167f" name="CL_M_2_SQRTPI_F"/>
<enum value="1.414213562f" name="CL_M_SQRT2_F"/>
<enum value="0.707106781f" name="CL_M_SQRT1_2_F"/>
<enum value="(CL_INFINITY - CL_INFINITY)" name="CL_NAN"/>
<enum value="((cl_float) 1e50)" name="CL_HUGE_VALF"/>
<enum value="((cl_double) 1e500)" name="CL_HUGE_VAL"/>
<enum value="CL_FLT_MAX" name="CL_MAXFLOAT"/>
<enum value="CL_HUGE_VALF" name="CL_INFINITY"/>
<comment> These values are defined differently along the
#if (defined (_WIN32) && defined(_MSC_VER))
compilation path, as follows:
<enum value="179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0" name="CL_DBL_MAX"/>
#if defined( __GNUC__ )
#define CL_HUGE_VALF __builtin_huge_valf()
#define CL_HUGE_VAL __builtin_huge_val()
#define CL_NAN __builtin_nanf( "" )
#else
#define CL_HUGE_VALF ((cl_float) 1e50)
#define CL_HUGE_VAL ((cl_double) 1e500)
float nanf( const char * );
#define CL_NAN nanf( "" )
#endif
</comment>
</enums>
<enums name="Constants.Versioning" vendor="Khronos" comment="Miscellaneous API constants, in cl.h">
<enum value="10" name="CL_VERSION_MAJOR_BITS"/>
<enum value="10" name="CL_VERSION_MINOR_BITS"/>
<enum value="12" name="CL_VERSION_PATCH_BITS"/>
<enum value="64" name="CL_NAME_VERSION_MAX_NAME_SIZE"/>
</enums>
<enums name="Constants.cl_khr_extended_versioning" vendor="Khronos" comment="cl_khr_extended_versioning, in cl_ext.h">
<enum value="10" name="CL_VERSION_MAJOR_BITS_KHR"/>
<enum value="10" name="CL_VERSION_MINOR_BITS_KHR"/>
<enum value="12" name="CL_VERSION_PATCH_BITS_KHR"/>
<enum value="64" name="CL_NAME_VERSION_MAX_NAME_SIZE_KHR"/>
</enums>
<enums name="Constants.cl_khr_device_uuid" vendor="Khronos" comment="cl_khr_device_uuid size constants, in cl_ext.h">
<enum value="16" name="CL_UUID_SIZE_KHR"/>
<enum value="8" name="CL_LUID_SIZE_KHR"/>
</enums>
<enums name="Constants.cl_arm_import_memory" vendor="Arm" comment = "cl_arm_import_memory size constants, in cl_ext.h">
<enum value="SIZE_MAX" name="CL_IMPORT_MEMORY_WHOLE_ALLOCATION_ARM"/>
</enums>
<enums name="Constants.cl_intel_command_queue_families" vendor="Intel" comment="cl_intel_command_queue_families constants, in cl_ext.h">
<enum value="64" name="CL_QUEUE_FAMILY_MAX_NAME_SIZE_INTEL"/>
<enum value="0" name="CL_QUEUE_DEFAULT_CAPABILITIES_INTEL"/>
</enums>
<enums name="Constants.cl_loader_layers" vendor="Khronos" comment="Defined Layer API version, in cl_layer.h">
<enum value="100" name="CL_LAYER_API_VERSION_100"/>
</enums>
<enums start="0" end="-999" name="ErrorCodes.0" vendor="Khronos" comment="Error codes start at 0 and decrease">
<enum value="0" name="CL_SUCCESS"/>
<enum value="-1" name="CL_DEVICE_NOT_FOUND"/>
<enum value="-2" name="CL_DEVICE_NOT_AVAILABLE"/>
<enum value="-3" name="CL_COMPILER_NOT_AVAILABLE"/>
<enum value="-4" name="CL_MEM_OBJECT_ALLOCATION_FAILURE"/>
<enum value="-5" name="CL_OUT_OF_RESOURCES"/>
<enum value="-6" name="CL_OUT_OF_HOST_MEMORY"/>
<enum value="-7" name="CL_PROFILING_INFO_NOT_AVAILABLE"/>
<enum value="-8" name="CL_MEM_COPY_OVERLAP"/>
<enum value="-9" name="CL_IMAGE_FORMAT_MISMATCH"/>
<enum value="-10" name="CL_IMAGE_FORMAT_NOT_SUPPORTED"/>
<enum value="-11" name="CL_BUILD_PROGRAM_FAILURE"/>
<enum value="-12" name="CL_MAP_FAILURE"/>
<enum value="-13" name="CL_MISALIGNED_SUB_BUFFER_OFFSET"/>
<enum value="-14" name="CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST"/>
<enum value="-15" name="CL_COMPILE_PROGRAM_FAILURE"/>
<enum value="-16" name="CL_LINKER_NOT_AVAILABLE"/>
<enum value="-17" name="CL_LINK_PROGRAM_FAILURE"/>
<enum value="-18" name="CL_DEVICE_PARTITION_FAILED"/>
<enum value="-19" name="CL_KERNEL_ARG_INFO_NOT_AVAILABLE"/>
<unused start="-20" end="-29" comment="Reserved for Khronos"/>
<enum value="-30" name="CL_INVALID_VALUE"/>
<enum value="-31" name="CL_INVALID_DEVICE_TYPE"/>
<enum value="-32" name="CL_INVALID_PLATFORM"/>
<enum value="-33" name="CL_INVALID_DEVICE"/>
<enum value="-34" name="CL_INVALID_CONTEXT"/>
<enum value="-35" name="CL_INVALID_QUEUE_PROPERTIES"/>
<enum value="-36" name="CL_INVALID_COMMAND_QUEUE"/>
<enum value="-37" name="CL_INVALID_HOST_PTR"/>
<enum value="-38" name="CL_INVALID_MEM_OBJECT"/>
<enum value="-39" name="CL_INVALID_IMAGE_FORMAT_DESCRIPTOR"/>
<enum value="-40" name="CL_INVALID_IMAGE_SIZE"/>
<enum value="-41" name="CL_INVALID_SAMPLER"/>
<enum value="-42" name="CL_INVALID_BINARY"/>
<enum value="-43" name="CL_INVALID_BUILD_OPTIONS"/>
<enum value="-44" name="CL_INVALID_PROGRAM"/>
<enum value="-45" name="CL_INVALID_PROGRAM_EXECUTABLE"/>
<enum value="-46" name="CL_INVALID_KERNEL_NAME"/>
<enum value="-47" name="CL_INVALID_KERNEL_DEFINITION"/>
<enum value="-48" name="CL_INVALID_KERNEL"/>
<enum value="-49" name="CL_INVALID_ARG_INDEX"/>
<enum value="-50" name="CL_INVALID_ARG_VALUE"/>
<enum value="-51" name="CL_INVALID_ARG_SIZE"/>
<enum value="-52" name="CL_INVALID_KERNEL_ARGS"/>
<enum value="-53" name="CL_INVALID_WORK_DIMENSION"/>
<enum value="-54" name="CL_INVALID_WORK_GROUP_SIZE"/>
<enum value="-55" name="CL_INVALID_WORK_ITEM_SIZE"/>
<enum value="-56" name="CL_INVALID_GLOBAL_OFFSET"/>
<enum value="-57" name="CL_INVALID_EVENT_WAIT_LIST"/>
<enum value="-58" name="CL_INVALID_EVENT"/>
<enum value="-59" name="CL_INVALID_OPERATION"/>
<enum value="-60" name="CL_INVALID_GL_OBJECT"/>
<enum value="-61" name="CL_INVALID_BUFFER_SIZE"/>
<enum value="-62" name="CL_INVALID_MIP_LEVEL"/>
<enum value="-63" name="CL_INVALID_GLOBAL_WORK_SIZE"/>
<enum value="-64" name="CL_INVALID_PROPERTY"/>
<enum value="-65" name="CL_INVALID_IMAGE_DESCRIPTOR"/>
<enum value="-66" name="CL_INVALID_COMPILER_OPTIONS"/>
<enum value="-67" name="CL_INVALID_LINKER_OPTIONS"/>
<enum value="-68" name="CL_INVALID_DEVICE_PARTITION_COUNT"/>
<enum value="-69" name="CL_INVALID_PIPE_SIZE"/>
<enum value="-70" name="CL_INVALID_DEVICE_QUEUE"/>
<enum value="-71" name="CL_INVALID_SPEC_ID"/>
<enum value="-72" name="CL_MAX_SIZE_RESTRICTION_EXCEEDED"/>
<unused start="-73" end="-999" comment="Reserved for Khronos"/>
</enums>
<enums start="-1000" end="-1001" name="ErrorCodes.1000" vendor="Khronos" comment="Extension error codes start at -1000 and decrease">
<enum value="-1000" name="CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR"/>
<enum value="-1001" name="CL_PLATFORM_NOT_FOUND_KHR"/>
</enums>
<enums start="-1002" end="-1017" name="ErrorCodes.1002" vendor="NVIDIA" comment="Allocated per Bug 5782">
<enum value="-1002" name="CL_INVALID_D3D10_DEVICE_KHR"/>
<!-- unused <enum value="-1002" name="CL_INVALID_D3D10_DEVICE_NV"/> -->
<enum value="-1003" name="CL_INVALID_D3D10_RESOURCE_KHR"/>
<!-- unused <enum value="-1003" name="CL_INVALID_D3D10_RESOURCE_NV"/> -->
<enum value="-1004" name="CL_D3D10_RESOURCE_ALREADY_ACQUIRED_KHR"/>
<!-- unused <enum value="-1004" name="CL_D3D10_RESOURCE_ALREADY_ACQUIRED_NV"/> -->
<enum value="-1005" name="CL_D3D10_RESOURCE_NOT_ACQUIRED_KHR"/>
<!-- unused <enum value="-1005" name="CL_D3D10_RESOURCE_NOT_ACQUIRED_NV"/> -->
<enum value="-1006" name="CL_INVALID_D3D11_DEVICE_KHR"/>
<!-- unused <enum value="-1006" name="CL_INVALID_D3D11_DEVICE_NV"/> -->
<enum value="-1007" name="CL_INVALID_D3D11_RESOURCE_KHR"/>
<!-- unused <enum value="-1007" name="CL_INVALID_D3D11_RESOURCE_NV"/> -->
<enum value="-1008" name="CL_D3D11_RESOURCE_ALREADY_ACQUIRED_KHR"/>
<!-- unused <enum value="-1008" name="CL_D3D11_RESOURCE_ALREADY_ACQUIRED_NV"/> -->
<enum value="-1009" name="CL_D3D11_RESOURCE_NOT_ACQUIRED_KHR"/>
<!-- unused <enum value="-1009" name="CL_D3D11_RESOURCE_NOT_ACQUIRED_NV"/> -->
<!-- unused <enum value="-1010" name="CL_INVALID_D3D9_DEVICE_NV"/> -->
<enum value="-1010" name="CL_INVALID_DX9_DEVICE_INTEL"/>
<enum value="-1010" name="CL_INVALID_DX9_MEDIA_ADAPTER_KHR"/>
<!-- unused <enum value="-1011" name="CL_INVALID_D3D9_RESOURCE_NV"/> -->
<enum value="-1011" name="CL_INVALID_DX9_MEDIA_SURFACE_KHR"/>
<enum value="-1011" name="CL_INVALID_DX9_RESOURCE_INTEL"/>
<!-- unused <enum value="-1012" name="CL_D3D9_RESOURCE_ALREADY_ACQUIRED_NV"/> -->
<enum value="-1012" name="CL_DX9_MEDIA_SURFACE_ALREADY_ACQUIRED_KHR"/>
<enum value="-1012" name="CL_DX9_RESOURCE_ALREADY_ACQUIRED_INTEL"/>
<!-- unused <enum value="-1013" name="CL_D3D9_RESOURCE_NOT_ACQUIRED_NV"/> -->
<enum value="-1013" name="CL_DX9_MEDIA_SURFACE_NOT_ACQUIRED_KHR"/>
<enum value="-1013" name="CL_DX9_RESOURCE_NOT_ACQUIRED_INTEL"/>
<unused start="-1014" end="-1017"/>
</enums>
<enums start="-1018" end="-1024" name="ErrorCodes.1018" vendor="AMD" comment="Allocated per Bugs 6071,6075">
<!-- To be named AMD atomic counters extension - see bug 6071/6075 -->
<!-- unused <enum value="-1018" name="CL_INVALID_PROPERTY_EXT"/> -->
<!-- unused <enum value="-1019" name="CL_DEVICE_PARTITION_FAILED_EXT"/> -->
<!-- unused <enum value="-1020" name="CL_INVALID_PARTITION_COUNT_EXT"/> -->
<!-- To be named AMD D3D9 extension - see bug 6071 -->
<!-- unused <enum value="-1021" name="CL_INVALID_D3D9_DEVICE_AMD"/> -->
<!-- unused <enum value="-1022" name="CL_INVALID_D3D9_RESOURCE_AMD"/> -->
<!-- unused <enum value="-1023" name="CL_D3D9_RESOURCE_ALREADY_ACQUIRED_AMD"/> -->
<!-- unused <enum value="-1024" name="CL_D3D9_RESOURCE_NOT_ACQUIRED_AMD"/> -->
</enums>
<enums start="-1025" end="-1056" name="ErrorCodes.1025" vendor="IBM" comment="Allocated per Bug 6261">
<unused start="-1025" end="-1056"/>
</enums>
<enums start="-1057" end="-1091" name="ErrorCodes.1057" vendor="Apple" comment="Allocated for cl_ext_device_fission and by email request from Ian Ollman 2010/07/08">
<enum value="-1057" name="CL_DEVICE_PARTITION_FAILED_EXT"/>
<enum value="-1058" name="CL_INVALID_PARTITION_COUNT_EXT"/>
<enum value="-1059" name="CL_INVALID_PARTITION_NAME_EXT"/>
<unused start="-1060" end="-1091"/>
</enums>
<enums start="-1092" end="-1093" name="ErrorCodes.1092" vendor="Khronos" comment="Allocated per Bug 10490">
<enum value="-1092" name="CL_EGL_RESOURCE_NOT_ACQUIRED_KHR"/>
<enum value="-1093" name="CL_INVALID_EGL_OBJECT_KHR"/>
</enums>
<enums start="-1094" end="-1101" name="ErrorCodes.1094" vendor="Intel" comment="Allocated per Bug 11132">
<enum value="-1094" name="CL_INVALID_ACCELERATOR_INTEL"/>
<enum value="-1095" name="CL_INVALID_ACCELERATOR_TYPE_INTEL"/>
<enum value="-1096" name="CL_INVALID_ACCELERATOR_DESCRIPTOR_INTEL"/>
<enum value="-1097" name="CL_ACCELERATOR_TYPE_NOT_SUPPORTED_INTEL"/>
<enum value="-1098" name="CL_INVALID_VA_API_MEDIA_ADAPTER_INTEL"/>
<enum value="-1099" name="CL_INVALID_VA_API_MEDIA_SURFACE_INTEL"/>
<enum value="-1100" name="CL_VA_API_MEDIA_SURFACE_ALREADY_ACQUIRED_INTEL"/>
<enum value="-1101" name="CL_VA_API_MEDIA_SURFACE_NOT_ACQUIRED_INTEL"/>
</enums>
<enums start="-1102" end="-1105" name="ErrorCodes.1102" vendor="Qualcomm" comment="Reserved for Qualcomm extensions">
</enums>
<enums start="-1106" end="-1107" name="ErrorCodes.1106" vendor="Intel" comment="Intel FPGA extension">
<enum value="-1106" name="CL_PIPE_FULL_INTEL"/>
<enum value="-1107" name="CL_PIPE_EMPTY_INTEL"/>
</enums>
<enums start="-1108" end="-1120" name="ErrorCodes.1108" vendor="Arm" comment="Reserved for Arm extensions">
<enum value="-1108" name="CL_COMMAND_TERMINATED_ITSELF_WITH_FAILURE_ARM"/>
<unused start="-1109" end="-1120"/>
</enums>
<enums start="-1121" end="-1121" name="ErrorCodes.1121" vendor="Khronos" comment="For cl_khr_terminate_context">
<enum value="-1121" name="CL_CONTEXT_TERMINATED_KHR"/>
</enums>
<enums start="-1122" end="-1137" name="ErrorCodes.1122" vendor="IMG" comment="Reserved for Imagination extensions">
<enum value="-1122" name="CL_ERROR_RESERVED0_IMG"/>
<enum value="-1123" name="CL_ERROR_RESERVED1_IMG"/>
<enum value="-1124" name="CL_ERROR_RESERVED2_IMG"/>
<enum value="-1125" name="CL_ERROR_RESERVED3_IMG"/>
<enum value="-1126" name="CL_CANCELLED_IMG"/>
<unused start="-1127" end="-1137"/>
</enums>
<enums start="-1138" end="-1141" name="ErrorCodes.1138" vendor="Khronos" comment="For cl_khr_command_buffer related extensions">
<enum value="-1138" name="CL_INVALID_COMMAND_BUFFER_KHR"/>
<enum value="-1139" name="CL_INVALID_SYNC_POINT_WAIT_LIST_KHR"/>
<enum value="-1140" name="CL_INCOMPATIBLE_COMMAND_QUEUE_KHR"/>
<enum value="-1141" name="CL_INVALID_MUTABLE_COMMAND_KHR"/>
</enums>
<enums start="-1142" end="-1142" name="ErrorCodes.1142" vendor="Khronos" comment="For cl_khr_semaphore">
<enum value="-1142" name="CL_INVALID_SEMAPHORE_KHR"/>
</enums>
<enums start="-1143" end="-1153" name="ErrorCodes.1143" vendor="VeriSilicon" comment="Reserved for VeriSilicon extensions">
<unused start="-1143" end="-1153"/>
</enums>
<enums start="-1154" end="-9999" name="ErrorCodes.future" vendor="Khronos" comment="RESERVED FOR FUTURE ALLOCATIONS BY KHRONOS">
<unused start="-1154" end="-9999"/>
</enums>
<enums name="cl_bool" vendor="Khronos" comment="Boolean values">
<enum value="0" name="CL_FALSE"/>
<enum value="1" name="CL_TRUE"/>
<!-- Should be alias= -->
<enum value="CL_TRUE" name="CL_BLOCKING"/>
<enum value="CL_FALSE" name="CL_NON_BLOCKING"/>
</enums>
<enums name="MiscNumbers" vendor="Multiple" comment="Tokens whose numeric value is intrinsically meaningful">
<enum value="((cl_device_partition_property_ext)0)" name="CL_PROPERTIES_LIST_END_EXT"/>
<enum value="((cl_device_partition_property_ext)0)" name="CL_PARTITION_BY_COUNTS_LIST_END_EXT"/>
<enum value="0x0" name="CL_DEVICE_PARTITION_BY_COUNTS_LIST_END"/>
<enum value="((cl_device_partition_property_ext)0 - 1)" name="CL_PARTITION_BY_NAMES_LIST_END_EXT"/>
<enum value="-1" name="CL_PARTITION_BY_NAMES_LIST_END_INTEL"/>
<enum value="0" name="CL_MEM_DEVICE_HANDLE_LIST_END_KHR"/>
<enum value="0" name="CL_SEMAPHORE_DEVICE_HANDLE_LIST_END_KHR"/>
<enum value="0" name="CL_SEMAPHORE_EXPORT_HANDLE_TYPES_LIST_END_KHR"/>
</enums>
<enums name="cl_affinity_domain_ext" vendor="IBM" comment="Property names for CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT. This is not a bitfield.">
<enum value="0x1" name="CL_AFFINITY_DOMAIN_L1_CACHE_EXT"/>
<enum value="0x2" name="CL_AFFINITY_DOMAIN_L2_CACHE_EXT"/>
<enum value="0x3" name="CL_AFFINITY_DOMAIN_L3_CACHE_EXT"/>
<enum value="0x4" name="CL_AFFINITY_DOMAIN_L4_CACHE_EXT"/>
<enum value="0x10" name="CL_AFFINITY_DOMAIN_NUMA_EXT"/>
<enum value="0x100" name="CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT"/>
</enums>
<enums name="cl_build_status" vendor="Khronos" comment="New values decrease">
<enum value="0" name="CL_BUILD_SUCCESS"/>
<enum value="-1" name="CL_BUILD_NONE"/>
<enum value="-2" name="CL_BUILD_ERROR"/>
<enum value="-3" name="CL_BUILD_IN_PROGRESS"/>
<unused start="-4" end="-9999"/>
</enums>
<enums name="clCommandExecutionStatus" vendor="Khronos">
<enum value="0x0" name="CL_COMPLETE"/>
<enum value="0x1" name="CL_RUNNING"/>
<enum value="0x2" name="CL_SUBMITTED"/>
<enum value="0x3" name="CL_QUEUED"/>
<unused start="0x4" end="9999"/>
</enums>
<enums name="cl_device_mem_cache_type" vendor="Khronos">
<enum value="0x0" name="CL_NONE"/>
<enum value="0x1" name="CL_READ_ONLY_CACHE"/>
<enum value="0x2" name="CL_READ_WRITE_CACHE"/>
<unused start="0x3" end="9999"/>
</enums>
<enums name="cl_compiler_mode_altera" vendor="Altera">
<!-- unused <enum value="0x0" name="CL_CONTEXT_COMPILER_MODE_OFFLINE_ALTERA"/> -->
<!-- unused <enum value="0x1" name="CL_CONTEXT_COMPILER_MODE_OFFLINE_CREATE_EXE_LIBRARY_ALTERA"/> -->
<!-- unused <enum value="0x2" name="CL_CONTEXT_COMPILER_MODE_OFFLINE_USE_EXE_LIBRARY_ALTERA"/> -->
<!-- unused <enum value="0x3" name="CL_CONTEXT_COMPILER_MODE_PRELOADED_BINARY_ONLY_ALTERA"/> -->
<unused start="0x4" end="9999"/>
</enums>
<enums name="cl_device_local_mem_type" vendor="Khronos">
<enum value="0x1" name="CL_LOCAL"/>
<enum value="0x2" name="CL_GLOBAL"/>
<unused start="0x3" end="9999"/>
</enums>
<enums name="cl_program_binary_type" vendor="Khronos">
<enum value="0x0" name="CL_PROGRAM_BINARY_TYPE_NONE"/>
<enum value="0x1" name="CL_PROGRAM_BINARY_TYPE_COMPILED_OBJECT"/>
<enum value="0x2" name="CL_PROGRAM_BINARY_TYPE_LIBRARY"/>
<enum value="0x4" name="CL_PROGRAM_BINARY_TYPE_EXECUTABLE"/>
<unused start="0x5" end="9999"/>
</enums>
<enums name="cl_accelerator_type_intel" vendor="Intel" comment="cl_intel_motion_estimation extension">
<enum value="0x0" name="CL_ACCELERATOR_TYPE_MOTION_ESTIMATION_INTEL"/>
<unused start="0x1" end="9999"/>
</enums>
<enums name="cl_device_type" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_DEVICE_TYPE_DEFAULT"/>
<enum bitpos="1" name="CL_DEVICE_TYPE_CPU"/>
<enum bitpos="2" name="CL_DEVICE_TYPE_GPU"/>
<enum bitpos="3" name="CL_DEVICE_TYPE_ACCELERATOR"/>
<enum bitpos="4" name="CL_DEVICE_TYPE_CUSTOM"/>
<unused start="5" end="31"/>
<enum value="0xFFFFFFFF" name="CL_DEVICE_TYPE_ALL"/>
</enums>
<enums name="cl_device_fp_config" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_FP_DENORM"/>
<enum bitpos="1" name="CL_FP_INF_NAN"/>
<enum bitpos="2" name="CL_FP_ROUND_TO_NEAREST"/>
<enum bitpos="3" name="CL_FP_ROUND_TO_ZERO"/>
<enum bitpos="4" name="CL_FP_ROUND_TO_INF"/>
<enum bitpos="5" name="CL_FP_FMA"/>
<enum bitpos="6" name="CL_FP_SOFT_FLOAT"/>
<enum bitpos="7" name="CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT"/>
<unused start="8" end="31"/>
</enums>
<enums name="cl_device_exec_capabilities" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_EXEC_KERNEL"/>
<enum bitpos="1" name="CL_EXEC_NATIVE_KERNEL"/>
<unused start="2" end="31"/>
</enums>
<enums name="cl_device_svm_capabilities" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_DEVICE_SVM_COARSE_GRAIN_BUFFER"/>
<enum bitpos="1" name="CL_DEVICE_SVM_FINE_GRAIN_BUFFER"/>
<enum bitpos="2" name="CL_DEVICE_SVM_FINE_GRAIN_SYSTEM"/>
<enum bitpos="3" name="CL_DEVICE_SVM_ATOMICS"/>
<unused start="4" end="31"/>
</enums>
<enums name="cl_device_atomic_capabilities" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_DEVICE_ATOMIC_ORDER_RELAXED"/>
<enum bitpos="1" name="CL_DEVICE_ATOMIC_ORDER_ACQ_REL"/>
<enum bitpos="2" name="CL_DEVICE_ATOMIC_ORDER_SEQ_CST"/>
<enum bitpos="3" name="CL_DEVICE_ATOMIC_SCOPE_WORK_ITEM"/>
<enum bitpos="4" name="CL_DEVICE_ATOMIC_SCOPE_WORK_GROUP"/>
<enum bitpos="5" name="CL_DEVICE_ATOMIC_SCOPE_DEVICE"/>
<enum bitpos="6" name="CL_DEVICE_ATOMIC_SCOPE_ALL_DEVICES"/>
<unused start="7" end="31"/>
</enums>
<enums name="cl_device_device_enqueue_capabilities" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_DEVICE_QUEUE_SUPPORTED"/>
<enum bitpos="1" name="CL_DEVICE_QUEUE_REPLACEABLE_DEFAULT"/>
<unused start="2" end="31"/>
</enums>
<enums name="cl_command_queue_properties" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE"/>
<enum bitpos="1" name="CL_QUEUE_PROFILING_ENABLE"/>
<enum bitpos="2" name="CL_QUEUE_ON_DEVICE"/>
<enum bitpos="3" name="CL_QUEUE_ON_DEVICE_DEFAULT"/>
<unused start="4" end="28"/>
<enum bitpos="29" name="CL_QUEUE_NO_SYNC_OPERATIONS_INTEL"/>
<enum bitpos="30" name="CL_QUEUE_RESERVED_QCOM"/>
<enum bitpos="31" name="CL_QUEUE_THREAD_LOCAL_EXEC_ENABLE_INTEL"/>
</enums>
<enums name="cl_context_memory_initialize_khr" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_CONTEXT_MEMORY_INITIALIZE_LOCAL_KHR"/>
<enum bitpos="1" name="CL_CONTEXT_MEMORY_INITIALIZE_PRIVATE_KHR"/>
<!-- Note: This bitmask is passed as a context property, and a context
property is an intptr_t, so the highest assigned bit must be 31. -->
<unused start="2" end="31"/>
</enums>
<enums name="cl_device_terminate_capability_khr" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_DEVICE_TERMINATE_CAPABILITY_CONTEXT_KHR"/>
<unused start="1" end="31"/>
</enums>
<enums name="cl_queue_priority_khr" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_QUEUE_PRIORITY_HIGH_KHR"/>
<enum bitpos="1" name="CL_QUEUE_PRIORITY_MED_KHR"/>
<enum bitpos="2" name="CL_QUEUE_PRIORITY_LOW_KHR"/>
<unused start="3" end="31"/>
</enums>
<enums name="cl_queue_throttle_khr" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_QUEUE_THROTTLE_HIGH_KHR"/>
<enum bitpos="1" name="CL_QUEUE_THROTTLE_MED_KHR"/>
<enum bitpos="2" name="CL_QUEUE_THROTTLE_LOW_KHR"/>
<unused start="3" end="31"/>
</enums>
<enums name="cl_mem_flags" vendor="Khronos" type="bitmask">
<!-- Note: cl_mem_flags bits are limited! When possible, using
cl_mem_properties or cl_pipe_properties is recommended instead. -->
<enum bitpos="0" name="CL_MEM_READ_WRITE"/>
<enum bitpos="1" name="CL_MEM_WRITE_ONLY"/>
<enum bitpos="2" name="CL_MEM_READ_ONLY"/>
<enum bitpos="3" name="CL_MEM_USE_HOST_PTR"/>
<enum bitpos="4" name="CL_MEM_ALLOC_HOST_PTR"/>
<enum bitpos="5" name="CL_MEM_COPY_HOST_PTR"/>
<unused start="6" comment="reserved for cl_ext_immutable_memory_objects"/>
<enum bitpos="7" name="CL_MEM_HOST_WRITE_ONLY"/>
<enum bitpos="8" name="CL_MEM_HOST_READ_ONLY"/>
<enum bitpos="9" name="CL_MEM_HOST_NO_ACCESS"/>
<enum bitpos="10" name="CL_MEM_SVM_FINE_GRAIN_BUFFER"/>
<enum bitpos="11" name="CL_MEM_SVM_ATOMICS"/>
<enum bitpos="12" name="CL_MEM_KERNEL_READ_AND_WRITE"/>
<unused start="13" end="19"/>
<enum bitpos="20" name="CL_MEM_FORCE_HOST_MEMORY_INTEL"/>
<enum bitpos="21" name="CL_MEM_RESERVED21_INTEL"/>
<enum bitpos="22" name="CL_MEM_RESERVED22_INTEL"/>
<unused start="23" end="23"/>
<enum bitpos="24" name="CL_MEM_NO_ACCESS_INTEL"/>
<enum bitpos="25" name="CL_MEM_ACCESS_FLAGS_UNRESTRICTED_INTEL"/>
<enum bitpos="26" name="CL_MEM_USE_UNCACHED_CPU_MEMORY_IMG"/>
<enum bitpos="27" name="CL_MEM_USE_CACHED_CPU_MEMORY_IMG"/>
<enum bitpos="28" name="CL_MEM_USE_GRALLOC_PTR_IMG"/>
<enum bitpos="29" name="CL_MEM_EXT_HOST_PTR_QCOM"/>
<!-- unused <enum bitpos="30" name="CL_MEM_BUS_ADDRESSABLE_AMD"/> -->
<!-- unused <enum bitpos="31" name="CL_MEM_EXTERNAL_MEMORY_AMD"/> -->
<enum bitpos="32" name="CL_MEM_RESERVED0_ARM"/>
<enum bitpos="33" name="CL_MEM_RESERVED1_ARM"/>
<enum bitpos="34" name="CL_MEM_RESERVED2_ARM"/>
<enum bitpos="35" name="CL_MEM_RESERVED3_ARM"/>
<enum bitpos="36" name="CL_MEM_PROTECTED_ALLOC_ARM"/>
<enum bitpos="37" name="CL_MEM_RESERVED0_QCOM"/>
<enum bitpos="38" name="CL_MEM_RESERVED1_QCOM"/>
<enum bitpos="39" name="CL_MEM_RESERVED2_QCOM"/>
<enum bitpos="40" name="CL_MEM_RESERVED3_QCOM"/>
<unused start="41" end="63"/>
</enums>
<enums name="cl_map_flags" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_MAP_READ"/>
<enum bitpos="1" name="CL_MAP_WRITE"/>
<enum bitpos="2" name="CL_MAP_WRITE_INVALIDATE_REGION"/>
<unused start="3" end="31"/>
<unused start="32" end="33" comment="Reserved for cl_ext_yuv_images #722"/>
<unused start="34" end="63"/>
</enums>
<enums name="cl_mem_migration_flags" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_MIGRATE_MEM_OBJECT_HOST"/>
<enum bitpos="0" name="CL_MIGRATE_MEM_OBJECT_HOST_EXT"/>
<enum bitpos="1" name="CL_MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED"/>
<unused start="2" end="31"/>
</enums>
<enums name="cl_device_affinity_domain" vendor="Khronos" type="bitmask">
<enum bitpos="0" name="CL_DEVICE_AFFINITY_DOMAIN_NUMA"/>
<enum bitpos="1" name="CL_DEVICE_AFFINITY_DOMAIN_L4_CACHE"/>
<enum bitpos="2" name="CL_DEVICE_AFFINITY_DOMAIN_L3_CACHE"/>
<enum bitpos="3" name="CL_DEVICE_AFFINITY_DOMAIN_L2_CACHE"/>
<enum bitpos="4" name="CL_DEVICE_AFFINITY_DOMAIN_L1_CACHE"/>
<enum bitpos="5" name="CL_DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE"/>
<unused start="6" end="31"/>
</enums>
<enums name="cl_kernel_arg_type_qualifier" vendor="Khronos" type="bitmask">
<enum value="0" name="CL_KERNEL_ARG_TYPE_NONE"/>
<enum bitpos="0" name="CL_KERNEL_ARG_TYPE_CONST"/>
<enum bitpos="1" name="CL_KERNEL_ARG_TYPE_RESTRICT"/>
<enum bitpos="2" name="CL_KERNEL_ARG_TYPE_VOLATILE"/>
<enum bitpos="3" name="CL_KERNEL_ARG_TYPE_PIPE"/>
<unused start="4" end="31"/>
</enums>
<enums name="cl_motion_estimation_desc_intel.mb_block_type" vendor="Intel" type="bitmask">
<enum value="0x0" name="CL_ME_MB_TYPE_16x16_INTEL"/>
<enum value="0x1" name="CL_ME_MB_TYPE_8x8_INTEL"/>
<enum value="0x2" name="CL_ME_MB_TYPE_4x4_INTEL"/>
<unused start="0x4" end="0x80000000"/>
</enums>
<enums name="cl_motion_estimation_desc_intel.subpixel_mode" vendor="Intel" type="bitmask">
<enum value="0x0" name="CL_ME_SUBPIXEL_MODE_INTEGER_INTEL"/>
<enum value="0x1" name="CL_ME_SUBPIXEL_MODE_HPEL_INTEL"/>
<enum value="0x2" name="CL_ME_SUBPIXEL_MODE_QPEL_INTEL"/>
<unused start="0x4" end="0x80000000"/>
</enums>
<enums name="cl_motion_estimation_desc_intel.sad_adjust_mode" vendor="Intel" type="bitmask">
<enum value="0x0" name="CL_ME_SAD_ADJUST_MODE_NONE_INTEL"/>
<enum value="0x1" name="CL_ME_SAD_ADJUST_MODE_HAAR_INTEL"/>
<unused start="0x2" end="0x80000000"/>
</enums>
<enums name="cl_motion_estimation_desc_intel.search_path_type" vendor="Intel" type="bitmask">
<enum value="0x0" name="CL_ME_SEARCH_PATH_RADIUS_2_2_INTEL"/>
<enum value="0x1" name="CL_ME_SEARCH_PATH_RADIUS_4_4_INTEL"/>
<unused start="0x2"/>
<enum value="0x5" name="CL_ME_SEARCH_PATH_RADIUS_16_12_INTEL"/>
<unused start="0x8" end="0x80000000"/>
</enums>
<enums name="cl_arm_device_svm_capabilities.flags" vendor="Arm" type="bitmask">
<enum bitpos="0" name="CL_DEVICE_SVM_COARSE_GRAIN_BUFFER_ARM"/>
<enum bitpos="1" name="CL_DEVICE_SVM_FINE_GRAIN_BUFFER_ARM"/>
<enum bitpos="2" name="CL_DEVICE_SVM_FINE_GRAIN_SYSTEM_ARM"/>
<enum bitpos="3" name="CL_DEVICE_SVM_ATOMICS_ARM"/>
<unused start="0x10" end="0x80000000"/>
</enums>
<enums name="cl_arm_svm_alloc.flags" vendor="Arm" type="bitmask">
<enum bitpos="10" name="CL_MEM_SVM_FINE_GRAIN_BUFFER_ARM"/>
<enum bitpos="11" name="CL_MEM_SVM_ATOMICS_ARM"/>
<unused start="0x4" end="0x80000000"/>
</enums>
<enums name="cl_diagnostic_verbose_level_intel" comment="From cl_intel_driver_diagnostics" vendor="Intel" type="bitmask">
<enum value="0xff" name="CL_CONTEXT_DIAGNOSTICS_LEVEL_ALL_INTEL"/>
<enum bitpos="0" name="CL_CONTEXT_DIAGNOSTICS_LEVEL_GOOD_INTEL"/>
<enum bitpos="1" name="CL_CONTEXT_DIAGNOSTICS_LEVEL_BAD_INTEL"/>
<enum bitpos="2" name="CL_CONTEXT_DIAGNOSTICS_LEVEL_NEUTRAL_INTEL"/>
</enums>