[PATCH] D19484: [OpenCL] Add supported OpenCL extensions to target info.

Alexey Bader via cfe-commits cfe-commits at lists.llvm.org
Thu May 12 12:51:05 PDT 2016


bader added inline comments.

================
Comment at: include/clang/Basic/OpenCLExtensions.def:64
@@ +63,3 @@
+OPENCLEXT_INTERNAL(cl_khr_initialize_memory, 200, ~0U)
+OPENCLEXT_INTERNAL(cl_khr_spir, 200, ~0U)
+OPENCLEXT_INTERNAL(cl_khr_srgb_image_writes, 200, ~0U)
----------------
Minimum required version should be 120.
cl_khr_spir was available in OpenCL 1.2 as well as cl_khr_depth_images and cl_khr_gl_depth_images.
https://www.khronos.org/registry/cl/specs/opencl-1.2-extensions.pdf



http://reviews.llvm.org/D19484





More information about the cfe-commits mailing list