[clang] [Clang] Add a flag to include GPU startup files (PR #112025)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 11 10:44:51 PDT 2024
================
@@ -648,6 +648,15 @@ void amdgpu::Linker::ConstructJob(Compilation &C, const JobAction &JA,
Args.MakeArgString("-plugin-opt=-mattr=" + llvm::join(Features, ",")));
}
+ if (Args.hasArg(options::OPT_gpustartfiles)) {
----------------
jhuber6 wrote:
What I meant, but that's a much bigger change. Maybe I could get away with only using the positive variant in the GPU toolchain?
https://github.com/llvm/llvm-project/pull/112025
More information about the cfe-commits
mailing list