llvm-project/clang/test/CodeGenCUDA
Joseph Huber b370be37cc [CUDA] Allow the new driver to compile CUDA in non-RDC mode
The new driver primarily allows us to support RDC-mode compilations with
proper linking. This is not needed for non-RDC mode compilation, but we
still would like the new driver to be able to handle this mode so we can
transition away from the old driver in the future. This patch adds the
necessary code to support creating a fatbinary for CUDA code generation
as well as removing old assumptions and errors about RDC-mode with the
new driver.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D129655
2022-07-13 21:49:15 -04:00
..
Inputs [HIP] Support `-fgpu-default-stream` 2022-02-23 22:28:29 -05:00
address-spaces.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
alias.cu
amdgpu-alias-undef-symbols.cu [Driver][test] Remove unused/obsoleted REQUIRES: clang-driver 2022-04-12 13:29:46 -07:00
amdgpu-asan.cu [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
amdgpu-atomic-ops.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
amdgpu-code-object-version.cu [HIP] Emit amdgpu_code_object_version module flag 2022-02-08 21:58:40 -05:00
amdgpu-func-attrs.cu [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
amdgpu-kernel-arg-pointer-type.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
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 [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
amdgpu-workgroup-size.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
atomic-ops.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
atomics-remarks-gfx90a.cu [Clang] Don't test register allocation 2022-06-23 12:46:00 +02:00
builtin-mangled-name.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
builtins-amdgcn.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
builtins-unsafe-atomics-gfx90a.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
const-var.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02: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 [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
cxx-call-kernel.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
debug-info-address-class.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
debug-info-template.cu
deferred-diag.cu
dependent-libs.cu
device-fun-linkage.cu [Cuda] Use fallback method to mangle externalized decls if no CUID given 2022-05-26 09:18:22 -04:00
device-init-fun.cu
device-stub.cu [CUDA/HIP] Remove argument from module ctor/dtor signatures 2022-04-09 12:34:41 +02:00
device-use-host-var.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
device-var-init.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
device-var-linkage.cu [CUDA][HIP] Externalize kernels with internal linkage 2022-04-22 17:05:36 -04:00
device-vtable.cu [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
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 [NFC] Rename Instrinsic to Intrinsic 2022-04-25 18:13:23 +01:00
function-overload.cu [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
host-used-device-var.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
host-used-extern.cu [CUDA][HIP] Fix linkage of __clang_gpu_used_external 2022-04-26 20:43:39 -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-arg-name-metadata.cu [HIP] add -fhip-kernel-arg-name 2022-06-24 11:15:36 -04:00
kernel-args-alignment.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
kernel-args.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
kernel-call.cu [HIP] Support `-fgpu-default-stream` 2022-02-23 22:28:29 -05:00
kernel-dbg-info.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
kernel-in-anon-ns.cu [CUDA][HIP] Externalize kernels with internal linkage 2022-04-22 17:05:36 -04:00
kernel-stub-name.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
lambda-reference-var.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
lambda.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
launch-bounds.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
library-builtin.cu [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
link-device-bitcode.cu [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
llvm-used.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
long-double.cu [HIP] fix long double size 2022-06-14 21:57:56 -04:00
managed-var.cu [ConstExpr] Don't create div/rem expressions 2022-07-05 15:54:53 +02:00
ms-linker-options.cu Revert "[hip][cuda] Enable extended lambda support on Windows." 2021-02-04 07:10:46 -05:00
noinline.cu [CUDA][HIP] support __noinline__ as keyword 2022-05-10 14:32:27 -04:00
norecurse.cu
nothrow.cu [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
offloading-entries.cu [CUDA] Allow the new driver to compile CUDA in non-RDC mode 2022-07-13 21:49:15 -04:00
openmp-parallel.cu [CUDA][HIP] Fix hostness check with -fopenmp 2022-03-24 15:19:47 -04:00
openmp-target.cu
printf-aggregate.cu
printf.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
profile-coverage-mapping.cu
propagate-metadata.cu [clang][cli] Remove -f[no-]trapping-math from -cc1 command line 2021-01-12 10:00:23 +01:00
ptx-kernels.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
redux-builtins.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
static-device-var-no-rdc.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
static-device-var-rdc.cu [Cuda] Use fallback method to mangle externalized decls if no CUID given 2022-05-26 09:18:22 -04:00
struct-mangling-number.cu [CUDA][HIP] Fix mangling number for local struct 2022-04-28 19:54:43 -04:00
surface.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
texture.cu [IR] Require intrinsic struct return type to be anonymous 2022-03-30 09:51:24 +02:00
types.cu [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
unnamed-types.cu [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
unused-global-var.cu [Internalize] Preserve variables externally initialized. 2021-07-08 10:48:19 -04:00
usual-deallocators.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
vtbl.cu [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00