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 | aa24601f9890c5cbc9b33caf8a1d058776ece0af (patch) | |
| tree | ce4fc30864508d99c2340e1c537e1f8d931503db /llvm/lib/Target/X86/X86MachineFunctionInfo.cpp | |
| parent | e6fdb6a28c5dbaabfd15e9b991eeb1b160870cf2 (diff) | |
| download | bcm5719-llvm-aa24601f9890c5cbc9b33caf8a1d058776ece0af.tar.gz bcm5719-llvm-aa24601f9890c5cbc9b33caf8a1d058776ece0af.zip | |
[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
llvm-svn: 334561
Diffstat (limited to 'llvm/lib/Target/X86/X86MachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions

