diff options
| author | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-06-12 23:58:59 +0000 |
|---|---|---|
| committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-06-12 23:58:59 +0000 |
| commit | 078d5aacfa9d385b8689cec8f0e6f60e38db89ce (patch) | |
| tree | 7c000ba2a970eafcedc918c696ec99562b76d364 /lib/CodeGen/CGExprAgg.cpp | |
| parent | b28c0c543c93e5ada9127947a0adc91c8fd00331 (diff) | |
| download | clang-078d5aacfa9d385b8689cec8f0e6f60e38db89ce.tar.gz | |
[CUDA][HIP] Allow CUDA __global__ functions to have amdgpu kernel attributes
There are HIP applications e.g. Tensorflow 1.3 using amdgpu kernel attributes, however
currently they are only allowed on OpenCL kernel functions.
This patch will allow amdgpu kernel attributes to be applied to CUDA/HIP __global__
functions.
Differential Revision: https://reviews.llvm.org/D47958
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@334561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
