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 51a529a commit d319d9bCopy full SHA for d319d9b
clang/test/Misc/nvptx.languageOptsOpenCL.cl
@@ -126,7 +126,7 @@
126
// #error "Incorrect cl_khr_3d_image_writes define"
127
// #endif
128
#pragma OPENCL EXTENSION cl_khr_3d_image_writes : enable
129
-#if (__OPENCL_C_VERSION__ >= 120) && defined TEST_CORE_FEATURES
+#if (__OPENCL_C_VERSION__ >= 200) && defined TEST_CORE_FEATURES
130
// expected-warning@-2{{OpenCL extension 'cl_khr_3d_image_writes' is core feature or supported optional core feature - ignoring}}
131
#endif
132
0 commit comments