[PATCH] D92091: [OpenCL] Allow pointer-to-pointer kernel args beyond CL 1.2

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 04:25:48 PST 2020


svenvh created this revision.
svenvh added a reviewer: Anastasia.
Herald added a subscriber: yaxunl.
Herald added a project: clang.
svenvh requested review of this revision.

The restriction on pointer-to-pointer kernel arguments has been
relaxed in OpenCL 2.0.  Apply the same address space restrictions for
pointer argument types to the inner pointer types.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92091

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaDecl.cpp
  clang/test/SemaOpenCL/invalid-kernel-parameters.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92091.307581.patch
Type: text/x-patch
Size: 5466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201125/63bbfcdd/attachment.bin>


More information about the cfe-commits mailing list