llvm-project/clang/test/CodeGenCUDA/Inputs
Yaxun (Sam) Liu 5cf2a37f12 [HIP] Emit kernel symbol
Currently clang uses stub function to launch kernel. This is inconvenient
to interop with C++ programs since the stub function has different name
as kernel, which is required by ROCm debugger.

This patch emits a variable symbol which has the same name as the kernel
and uses it to register and launch the kernel. This allows C++ program to
launch a kernel by using the original kernel name.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D86376
2021-03-01 16:31:40 -05:00
..
cuda-initializers.h
cuda.h [HIP] Emit kernel symbol 2021-03-01 16:31:40 -05:00
device-code-2.ll
device-code.ll
device-lib-code.ll [clang][codegen] Skip adding default function attributes on intrinsics. 2020-09-16 14:10:05 -04:00