We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98ae863 commit 1145dc3Copy full SHA for 1145dc3
clang/lib/Headers/opencl-c-base.h
@@ -55,6 +55,10 @@
55
#endif // defined(__SPIR__) || defined(__SPIRV__)
56
#endif // (defined(__OPENCL_CPP_VERSION__) || __OPENCL_C_VERSION__ >= 200)
57
58
+#if (__OPENCL_C_VERSION__ == 120)
59
+#define __opencl_c_images 1
60
+#endif // (__OPENCL_C_VERSION__ == 120)
61
+
62
// Define feature macros for OpenCL C 2.0
63
#if (__OPENCL_CPP_VERSION__ == 100 || __OPENCL_C_VERSION__ == 200)
64
#define __opencl_c_pipes 1
0 commit comments