[all-commits] [llvm/llvm-project] eae70c: [Clang][OpenCL] Allow pointers in structs as kerne...

azaks via All-commits all-commits at lists.llvm.org
Mon Mar 13 10:04:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eae70ccbf9756e1e5b2c32f08558cb11e0f05dbf
      https://github.com/llvm/llvm-project/commit/eae70ccbf9756e1e5b2c32f08558cb11e0f05dbf
  Author: Ayal Zaks <ayal.zaks at intel.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/SemaOpenCL/invalid-kernel-parameters.cl

  Log Message:
  -----------
  [Clang][OpenCL] Allow pointers in structs as kernel arguments from 2.0

Structs that contain global or local pointers can be passed as kernel
arguments starting OpenCL v2.0 with the introduction of shared virtual memory.

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




More information about the All-commits mailing list