llvm-project/clang/test/CodeGenCUDA
Jonas Hahnfeld ea08c4cd1c [CUDA] Fix static device variables with -fgpu-rdc
NVPTX does not allow dots in the identifier, so ptxas errors out with
   fatal   : Parsing error near '.static': syntax error
because it parses .static as a directive. Avoid this problem by using
two underscores, similar to what OpenMP does for outlined functions.

Differential Revision: https://reviews.llvm.org/D108456
2021-08-25 09:31:22 +02:00
..
Inputs [HIP] Emit kernel symbol 2021-03-01 16:31:40 -05:00
address-spaces.cu
alias.cu
amdgpu-asan.cu [HIP] Preserve ASAN bitcode library functions 2021-07-23 10:35:52 -04:00
amdgpu-atomic-ops.cu Let clang atomic builtins fetch add/sub support floating point types 2021-04-06 15:44:00 -04:00
amdgpu-func-attrs.cu
amdgpu-hip-implicit-kernarg.cu
amdgpu-kernel-arg-pointer-type.cu
amdgpu-kernel-attrs.cu Relands "[HIP] Change default --gpu-max-threads-per-block value to 1024" 2021-02-12 10:53:59 -05:00
amdgpu-visibility.cu
amdgpu-workgroup-size.cu
atomics-remarks-gfx90a.cu [Remarks] Emit optimization remarks for atomics generating CAS loop 2021-08-16 14:56:01 -06:00
builtin-mangled-name.cu [CUDA][HIP] add __builtin_get_device_side_mangled_name 2021-03-25 15:25:29 -04:00
builtins-amdgcn.cu [HIP] Allow target addr space in target builtins 2021-08-19 23:51:58 -06:00
constexpr-variables.cu
convergent.cu [Clang] [NFC] fix CHECK lines for convergent attribute tests 2021-06-29 00:21:07 +05:30
correctly-rounded-div.cu [HIP] Fix device lib selection 2021-05-01 20:31:11 -04:00
cuda-builtin-vars.cu
cxx-call-kernel.cpp Fix test cxx-call-kernel.cpp 2021-03-01 17:10:53 -05:00
debug-info-address-class.cu
debug-info-template.cu
deferred-diag.cu
dependent-libs.cu
device-fun-linkage.cu
device-init-fun.cu
device-stub.cu -fno-semantic-interposition: Don't set dso_local on GlobalVariable 2021-05-19 16:08:28 -07:00
device-use-host-var.cu CUDA/HIP: Change device-use-host-var.cu's NOT "external" check to include variable name 2021-06-04 13:10:00 -04:00
device-var-init.cu
device-var-linkage.cu [CUDA] Fix static device variables with -fgpu-rdc 2021-08-25 09:31:22 +02:00
device-vtable.cu
dft-func-attr-skip-intrinsic.hip [Clang] [NFC] fix CHECK lines for convergent attribute tests 2021-06-29 00:21:07 +05:30
filter-decl.cu
flush-denormals.cu [CUDA][HIP] rename -fcuda-flush-denormals-to-zero 2021-04-05 00:13:51 -04:00
fp-contract.cu
function-overload.cu
host-used-device-var.cu [Internalize] Preserve variables externally initialized. 2021-07-08 10:48:19 -04:00
kernel-amdgcn.cu Relands "[HIP] Change default --gpu-max-threads-per-block value to 1024" 2021-02-12 10:53:59 -05:00
kernel-args-alignment.cu
kernel-args.cu
kernel-call.cu
kernel-dbg-info.cu [HIP] Emit kernel symbol 2021-03-01 16:31:40 -05:00
kernel-stub-name.cu [HIP, test] Fix use of undef FileCheck var 2021-04-04 19:30:49 +01:00
lambda-reference-var.cu
lambda.cu
launch-bounds.cu
library-builtin.cu
link-device-bitcode.cu
llvm-used.cu Change some addUsedGlobal to addUsedOrCompilerUsedGlobal 2021-02-26 10:42:07 -08:00
managed-var.cu [CUDA] Fix static device variables with -fgpu-rdc 2021-08-25 09:31:22 +02:00
ms-linker-options.cu Revert "[hip][cuda] Enable extended lambda support on Windows." 2021-02-04 07:10:46 -05:00
norecurse.cu
nothrow.cu
openmp-target.cu
printf-aggregate.cu
printf.cu
profile-coverage-mapping.cu
propagate-metadata.cu
ptx-kernels.cu
redux-builtins.cu [Clang][NVPTX] Add NVPTX intrinsics and builtins for CUDA PTX redux.sync instructions 2021-05-17 09:46:59 -07:00
static-device-var-no-rdc.cu [CUDA][HIP] Fix device template variables 2021-05-12 11:13:29 -04:00
static-device-var-rdc.cu [CUDA] Fix static device variables with -fgpu-rdc 2021-08-25 09:31:22 +02:00
surface.cu [cuda] Mark builtin texture/surface reference variable as 'externally_initialized'. 2021-08-09 13:27:40 -04:00
texture.cu [cuda] Mark builtin texture/surface reference variable as 'externally_initialized'. 2021-08-09 13:27:40 -04:00
types.cu
unnamed-types.cu [HIP] Emit kernel symbol 2021-03-01 16:31:40 -05:00
unused-global-var.cu [Internalize] Preserve variables externally initialized. 2021-07-08 10:48:19 -04:00
usual-deallocators.cu
vtbl.cu [CUDA][HIP] Fix store of vtbl in ctor 2021-06-08 10:24:44 -04:00