File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 45
45
#define __opencl_c_ext_fp32_local_atomic_add 1
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
+ #define __opencl_c_ext_image_raw10_raw12 1
48
49
49
50
#endif // defined(__SPIR__) || defined(__SPIRV__)
50
51
#endif // (defined(__OPENCL_CPP_VERSION__) || __OPENCL_C_VERSION__ >= 200)
@@ -477,6 +478,10 @@ typedef enum memory_order
477
478
#if __OPENCL_C_VERSION__ >= CL_VERSION_3_0
478
479
#define CLK_UNORM_INT_101010_2 0x10E0
479
480
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_3_0
481
+ #ifdef __opencl_c_ext_image_raw10_raw12
482
+ #define CLK_UNSIGNED_INT_RAW10_EXT 0x10E3
483
+ #define CLK_UNSIGNED_INT_RAW12_EXT 0x10E4
484
+ #endif // __opencl_c_ext_image_raw10_raw12
480
485
481
486
// Channel order, numbering must be aligned with cl_channel_order in cl.h
482
487
//
Original file line number Diff line number Diff line change @@ -187,6 +187,9 @@ global atomic_int z = ATOMIC_VAR_INIT(99);
187
187
#if __opencl_c_ext_fp64_local_atomic_min_max != 1
188
188
#error "Incorrectly defined __opencl_c_ext_fp64_local_atomic_min_max"
189
189
#endif
190
+ #if __opencl_c_ext_image_raw10_raw12 != 1
191
+ #error "Incorrectly defined __opencl_c_ext_image_raw10_raw12"
192
+ #endif
190
193
191
194
#else
192
195
@@ -271,6 +274,9 @@ global atomic_int z = ATOMIC_VAR_INIT(99);
271
274
#ifdef __opencl_c_ext_fp64_local_atomic_min_max
272
275
#error "Incorrectly __opencl_c_ext_fp64_local_atomic_min_max defined"
273
276
#endif
277
+ #ifdef __opencl_c_ext_image_raw10_raw12
278
+ #error "Incorrect __opencl_c_ext_image_raw10_raw12 define"
279
+ #endif
274
280
275
281
#endif //(defined(__OPENCL_CPP_VERSION__) || __OPENCL_C_VERSION__ >= 200)
276
282
You can’t perform that action at this time.
0 commit comments