[all-commits] [llvm/llvm-project] 054e33: [OpenCL] Supports optional program scope global va...

Justas Janickas via All-commits all-commits at lists.llvm.org
Thu Sep 16 04:48:32 PDT 2021


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

  Changed paths:
    M clang/include/clang/Basic/OpenCLOptions.h
    M clang/test/SemaOpenCL/storageclass.cl

  Log Message:
  -----------
  [OpenCL] Supports optional program scope global variables in C++ for OpenCL 2021

Adds support for macro `__opencl_c_program_scope_global_variables`
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/D109305




More information about the All-commits mailing list