llvm-project/clang/test/CodeGenCUDA
Artem Belevich c66d254ded [CUDA] Use atexit() to call module destructor.
This matches the way NVCC does it. Doing module cleanup at global
destructor phase used to work, but is, apparently, too late for
the CUDA runtime in CUDA-9.2, which ends up crashing with double-free.

Differential Revision: https://reviews.llvm.org/D48613

llvm-svn: 335763
2018-06-27 18:32:51 +00:00
..
Inputs [HIP] Add hip input kind and codegen for kernel launching 2018-04-25 01:10:37 +00:00
address-spaces.cu [CUDA] Let device-side shared variables be initialized with undef 2018-04-02 17:38:24 +00:00
alias.cu Disable emitting static extern C aliases for amdgcn target for CUDA 2018-03-29 14:50:00 +00:00
amdgpu-kernel-attrs.cu [CUDA][HIP] Allow CUDA __global__ functions to have amdgpu kernel attributes 2018-06-12 23:58:59 +00:00
convergent.cu [CUDA] Mark device functions as nounwind. 2016-10-04 23:41:49 +00:00
cuda-builtin-vars.cu [CUDA] Rename cuda_builtin_vars.h to __clang_cuda_builtin_vars.h. 2016-10-08 22:16:08 +00:00
device-stub.cu [CUDA] Use atexit() to call module destructor. 2018-06-27 18:32:51 +00:00
device-var-init.cu [CUDA] Let device-side shared variables be initialized with undef 2018-04-02 17:38:24 +00:00
device-vtable.cu [CUDA][HIP] Do not emit type info when compiling for device 2018-06-05 15:11:02 +00:00
filter-decl.cu Really fix test on windows. 2018-02-23 19:38:41 +00:00
flush-denormals.cu CodeGenModule: Always output wchar_size, check LLVM assumptions. 2017-05-20 01:29:55 +00:00
fp-contract.cu Use FPContractModeKind universally 2017-03-29 21:54:24 +00:00
function-overload.cu [CUDA] Disallow overloading destructors. 2016-10-03 16:48:23 +00:00
kernel-amdgcn.cu [CUDA] Set LLVM calling convention for CUDA kernel 2018-04-20 17:01:03 +00:00
kernel-args-alignment.cu [CUDA] Align kernel launch args correctly when the LLVM type's alignment is different from the clang type's alignment. 2016-07-27 22:36:21 +00:00
kernel-args.cu [CUDA][HIP] Set kernel calling convention before arrange function 2018-06-12 00:16:33 +00:00
kernel-call.cu Fix failure in lit test kernel-call.cu due to name mangling 2018-04-25 13:07:58 +00:00
launch-bounds.cu [CUDA] Improve target attribute checking for function templates. 2016-12-07 19:27:16 +00:00
library-builtin.cu [CUDA] CUDA has no device-side library builtins. 2018-01-23 19:08:18 +00:00
link-device-bitcode.cu Remove -cc1 option "-backend-option". 2018-04-12 22:21:36 +00:00
llvm-used.cu
nothrow.cu [CUDA] Add missing ':' to noexcept.cu test. 2016-10-05 00:27:38 +00:00
printf-aggregate.cu
printf.cu
propagate-metadata.cu Fix typos in clang 2018-04-06 15:14:32 +00:00
ptx-kernels.cu [CUDA] Give templated device functions internal linkage, templated kernels external linkage. 2016-06-30 18:41:33 +00:00