llvm-project/clang/test/SemaCUDA
Yaxun Liu aa24601f98 [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
2018-06-12 23:58:59 +00:00
..
Inputs
add-inline-in-definition.cu
addr-of-overloaded-fn.cu
alias.cu
amdgpu-attrs.cu [CUDA][HIP] Allow CUDA __global__ functions to have amdgpu kernel attributes 2018-06-12 23:58:59 +00:00
asm-constraints-device.cu
asm-constraints-mixed.cu
attr-declspec.cu
attributes-on-non-cuda.cu
bad-attributes.cu
bad-calls-on-same-line.cu
builtins.cu
call-device-fn-from-host.cu [CUDA] Fixed false error reporting in case of calling H->G->HD->D. 2018-03-23 19:49:03 +00:00
call-host-fn-from-device.cu
call-stack-for-deferred-err.cu [CUDA] Report "unsupported VLA" errors only on device side. 2017-11-28 18:51:42 +00:00
config-type.cu
cuda-builtin-vars.cu
cuda-inherits-calling-conv.cu
cxx11-kernel-call.cu
device-var-init.cu [CUDA] Check initializers of instantiated template variables. 2018-06-06 22:37:25 +00:00
error-includes-mode.cu [CUDA] When compilation fails, print the compilation mode. 2017-09-07 18:37:16 +00:00
exceptions.cu
extern-shared.cu [CUDA] Allow "extern __shared__ Foo foo[]" within anon. namespaces. 2018-05-17 16:15:07 +00:00
function-overload.cu Fix some handling of AST nodes with diagnostics. 2018-03-28 04:16:13 +00:00
function-target.cu
function-template-overload.cu Fix typos in clang 2018-04-06 15:14:32 +00:00
global-initializers-host.cu
gnu-inline.cu
host-device-constexpr.cu
implicit-copy.cu
implicit-device-lambda.cu
implicit-intrinsic.cu
implicit-member-target-collision-cxx11.cu
implicit-member-target-collision.cu
implicit-member-target.cu
kernel-call.cu Fix some handling of AST nodes with diagnostics. 2018-03-28 04:16:13 +00:00
launch_bounds.cu Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
lit.local.cfg
method-target.cu
no-call-stack-for-immediate-errs.cu [CUDA] Report "unsupported VLA" errors only on device side. 2017-11-28 18:51:42 +00:00
no-destructor-overload.cu
no-host-device-constexpr.cu
overloaded-delete.cu
pr27778.cu
qualifiers.cu
reference-to-kernel-fn.cu
trace-through-global.cu
vararg.cu
vla.cu [CUDA] Report "unsupported VLA" errors only on device side. 2017-11-28 18:51:42 +00:00