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 4646#define __opencl_c_ext_fp32_global_atomic_min_max 1
4747#define __opencl_c_ext_fp32_local_atomic_min_max 1
4848#define __opencl_c_ext_image_raw10_raw12 1
49+ #define __opencl_c_ext_image_unorm_int_2_101010 1
4950#define cl_khr_kernel_clock 1
5051#define __opencl_c_kernel_clock_scope_device 1
5152#define __opencl_c_kernel_clock_scope_work_group 1
@@ -486,6 +487,9 @@ typedef enum memory_order
486487#define CLK_UNSIGNED_INT_RAW10_EXT 0x10E3
487488#define CLK_UNSIGNED_INT_RAW12_EXT 0x10E4
488489#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
489493
490494// Channel order, numbering must be aligned with cl_channel_order in cl.h
491495//
Original file line number Diff line number Diff line change @@ -190,6 +190,9 @@ global atomic_int z = ATOMIC_VAR_INIT(99);
190190#if __opencl_c_ext_image_raw10_raw12 != 1
191191#error "Incorrectly defined __opencl_c_ext_image_raw10_raw12"
192192#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
193196
194197#else
195198
@@ -277,6 +280,9 @@ global atomic_int z = ATOMIC_VAR_INIT(99);
277280#ifdef __opencl_c_ext_image_raw10_raw12
278281#error "Incorrect __opencl_c_ext_image_raw10_raw12 define"
279282#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
280286
281287#endif //(defined(__OPENCL_CPP_VERSION__) || __OPENCL_C_VERSION__ >= 200)
282288
You can’t perform that action at this time.
0 commit comments