[all-commits] [llvm/llvm-project] b7e9d2: [OpenCL] Supports optional same image reads and wr...

Justas Janickas via All-commits all-commits at lists.llvm.org
Fri Sep 17 06:15:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7e9d203c6793873f72dd3ffaf7c9365ce03007e
      https://github.com/llvm/llvm-project/commit/b7e9d203c6793873f72dd3ffaf7c9365ce03007e
  Author: Justas Janickas <Justas.Janickas at arm.com>
  Date:   2021-09-17 (Fri, 17 Sep 2021)

  Changed paths:
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/Misc/opencl-c-3.0.incorrect_options.cl
    M clang/test/SemaOpenCL/access-qualifier.cl

  Log Message:
  -----------
  [OpenCL] Supports optional same image reads and writes in C++ for OpenCL 2021

Adds support for a feature macro `__opencl_c_read_write_images` in
C++ for OpenCL 2021 enabling a respective optional core feature
from OpenCL 3.0.

This change aims to achieve compatibility between C++ for OpenCL
2021 and OpenCL 3.0.

Differential Revision: https://reviews.llvm.org/D109307




More information about the All-commits mailing list