File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 46
46
#define __opencl_c_ext_fp32_global_atomic_min_max 1
47
47
#define __opencl_c_ext_fp32_local_atomic_min_max 1
48
48
#define __opencl_c_ext_image_raw10_raw12 1
49
+ #define __opencl_c_ext_image_unorm_int_2_101010 1
49
50
#define cl_khr_kernel_clock 1
50
51
#define __opencl_c_kernel_clock_scope_device 1
51
52
#define __opencl_c_kernel_clock_scope_work_group 1
@@ -486,6 +487,9 @@ typedef enum memory_order
486
487
#define CLK_UNSIGNED_INT_RAW10_EXT 0x10E3
487
488
#define CLK_UNSIGNED_INT_RAW12_EXT 0x10E4
488
489
#endif // __opencl_c_ext_image_raw10_raw12
490
+ #ifdef __opencl_c_ext_image_unorm_int_2_101010
491
+ #define CLK_UNORM_INT_2_101010_EXT 0x10E5
492
+ #endif // __opencl_c_ext_image_unorm_int_2_101010
489
493
490
494
// Channel order, numbering must be aligned with cl_channel_order in cl.h
491
495
//
Original file line number Diff line number Diff line change @@ -190,6 +190,9 @@ global atomic_int z = ATOMIC_VAR_INIT(99);
190
190
#if __opencl_c_ext_image_raw10_raw12 != 1
191
191
#error "Incorrectly defined __opencl_c_ext_image_raw10_raw12"
192
192
#endif
193
+ #if __opencl_c_ext_image_unorm_int_2_101010 != 1
194
+ #error "Incorrectly defined __opencl_c_ext_image_unorm_int_2_101010"
195
+ #endif
193
196
194
197
#else
195
198
@@ -277,6 +280,9 @@ global atomic_int z = ATOMIC_VAR_INIT(99);
277
280
#ifdef __opencl_c_ext_image_raw10_raw12
278
281
#error "Incorrect __opencl_c_ext_image_raw10_raw12 define"
279
282
#endif
283
+ #ifdef __opencl_c_ext_image_unorm_int_2_101010
284
+ #error "Incorrect __opencl_c_ext_image_unorm_int_2_101010 define"
285
+ #endif
280
286
281
287
#endif //(defined(__OPENCL_CPP_VERSION__) || __OPENCL_C_VERSION__ >= 200)
282
288
You can’t perform that action at this time.
0 commit comments