[all-commits] [llvm/llvm-project] 523775: [OpenCL] Allow pointer-to-pointer kernel args beyo...

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Tue Dec 1 03:38:23 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 523775f96742e6f099b3498b6606b7250c0af841
      https://github.com/llvm/llvm-project/commit/523775f96742e6f099b3498b6606b7250c0af841
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2020-12-01 (Tue, 01 Dec 2020)

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

  Log Message:
  -----------
  [OpenCL] Allow pointer-to-pointer kernel args beyond CL 1.2

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.

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




More information about the All-commits mailing list