about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorFlakebi <flakebi@t-online.de>2025-02-10 22:37:43 +0100
committerFlakebi <flakebi@t-online.de>2025-02-12 22:44:39 +0100
commit99ec64c34c65630d9a66befa2cbf2faa9478baa0 (patch)
tree37bf6c7b9cd389be5a145144003c3c2c7f050931 /compiler/rustc_codegen_llvm/src
parentcd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 (diff)
downloadrust-99ec64c34c65630d9a66befa2cbf2faa9478baa0.tar.gz
rust-99ec64c34c65630d9a66befa2cbf2faa9478baa0.zip
Export kernel descriptor for amdgpu kernels
The host runtime (HIP or HSA) expects a kernel descriptor object for
each kernel in the ELF file. The amdgpu LLVM backend generates the
object. It is created as a symbol with the name of the kernel plus a
`.kd` suffix.

Add it to the exported symbols in the linker script, so that it can be
found.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions