[all-commits] [llvm/llvm-project] 3b9470: [OpenCL] Supports optional image types in C++ for ...

Justas Janickas via All-commits all-commits at lists.llvm.org
Wed Sep 15 02:04:19 PDT 2021


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

  Changed paths:
    M clang/lib/Sema/SemaType.cpp
    M clang/test/SemaOpenCL/unsupported-image.cl

  Log Message:
  -----------
  [OpenCL] Supports optional image types in C++ for OpenCL 2021

Adds support for a feature macro `__opencl_c_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/D109002




More information about the All-commits mailing list