[PATCH] D47958: [CUDA][HIP] Allow CUDA __global__ functions to have amdgpu kernel attributes

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 11 17:53:53 PDT 2018


yaxunl updated this revision to Diff 150872.
yaxunl marked 2 inline comments as done.
yaxunl retitled this revision from "[CUDA][HIP] Allow CUDA `__global__` functions to have amdgpu kernel attributes" to "[CUDA][HIP] Allow CUDA __global__ functions to have amdgpu kernel attributes".
yaxunl added a comment.

Improve error msg.


https://reviews.llvm.org/D47958

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGenCUDA/amdgpu-kernel-attrs.cu
  test/SemaCUDA/amdgpu-attrs.cu
  test/SemaOpenCL/invalid-kernel-attrs.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47958.150872.patch
Type: text/x-patch
Size: 15422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180612/fdc415da/attachment.bin>


More information about the cfe-commits mailing list