[PATCH] D22637: [OpenCL] Add extension cl_khr_mipmap_image to clang
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 22 12:07:01 PDT 2016
yaxunl added inline comments.
================
Comment at: test/Misc/amdgcn.languageOptsOpenCL.cl:190
@@ +189,3 @@
+// expected-warning at -1{{unsupported OpenCL extension 'cl_khr_mipmap_image' - ignoring}}
+#endif
+
----------------
we also need to check the else case for `__OPENCL_C_VERSION__ < 200` that cl_khr_mipmap_image is defined and no warning msg for #pragma OPENCL EXTENSION cl_khr_mipmap_image: enable
Repository:
rL LLVM
https://reviews.llvm.org/D22637
More information about the cfe-commits
mailing list