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

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 8 13:20:02 PDT 2018


yaxunl created this revision.
yaxunl added a reviewer: kzhuravl.
Herald added subscribers: t-tye, tpr, dstuttard, nhaehnle, wdng.

There are HIP applications e.g. Tensorflow 1.3 using amdgpu kernel attributes.


https://reviews.llvm.org/D47958

Files:
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGenCUDA/amdgpu-kernel-attrs.cu
  test/SemaCUDA/amdgpu-attrs.cu

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


More information about the cfe-commits mailing list