Add these out-of-order in clc.h so we can use these in other headers. v2: Take into account the lack of a definition in OpenCL 1.0 Reviewed-by: Tom Stellard <tom@stellard.net> llvm-svn: 211578
9 lines
159 B
C
9 lines
159 B
C
#if __OPENCL_VERSION__ >= 110
|
|
#define CLC_VERSION_1_0 100
|
|
#define CLC_VERSION_1_1 110
|
|
#endif
|
|
|
|
#if __OPENCL_VERSION__ >= 120
|
|
#define CLC_VERSION_1_2 120
|
|
#endif
|