[all-commits] [llvm/llvm-project] 9d25ce: [OpenCL] Fix parsing of opencl-c.h in CL 3.0

Kévin Petit via All-commits all-commits at lists.llvm.org
Tue Mar 30 08:18:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d25ce743a95a9ad03c0a4b3a705f85c2de52398
      https://github.com/llvm/llvm-project/commit/9d25ce743a95a9ad03c0a4b3a705f85c2de52398
  Author: Kevin Petit <kevin.petit at arm.com>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

  Changed paths:
    M clang/include/clang/Basic/OpenCLExtensions.def
    M clang/test/Headers/opencl-c-header.cl
    M clang/test/SemaOpenCL/extension-version.cl

  Log Message:
  -----------
  [OpenCL] Fix parsing of opencl-c.h in CL 3.0

Ensure that the cl_khr_3d_image_writes pragma is enabled by making
cl_khr_3d_image_writes an optional core feature in CL 3.0 in addition
to being an available extension in 1.0 onwards and a core feature in
CL 2.0.

https://reviews.llvm.org/D99425

Signed-off-by: Kevin Petit <kevin.petit at arm.com>




More information about the All-commits mailing list