llvm icon indicating copy to clipboard operation
llvm copied to clipboard

Link devicelib during device code compilation

Open MartinWehking opened this issue 1 year ago • 0 comments

Note: This patch is based on 15048 (Not merged yet) and links against the final resulting bitcode library that is created through that patch

Use the -mlink-builtin-bitcode flag to link the CUDA devicelib during device code compilation instead of generating a separate llvm-link action in the driver.

Add a new flag to exclude linking of libdevice completely.

Add a new error in case that the cuda devicelib file can not be found.

MartinWehking avatar Aug 16 '24 17:08 MartinWehking