@@ -612,8 +612,9 @@ void NVPTX::OpenMPLinker::ConstructJob(Compilation &C, const JobAction &JA,
612
612
CmdArgs.push_back (CubinF);
613
613
}
614
614
615
- AddStaticDeviceLibsLinking (C, *this , JA, Inputs, Args, CmdArgs, " nvptx" , GPUArch,
616
- false , false );
615
+ AddStaticDeviceLibsLinking (C, *this , JA, Inputs, Args, CmdArgs, " nvptx" ,
616
+ GPUArch, /* isBitCodeSDL=*/ false ,
617
+ /* postClangLink=*/ false );
617
618
618
619
// Find nvlink and pass it as "--nvlink-path=" argument of
619
620
// clang-nvlink-wrapper.
@@ -752,8 +753,9 @@ void CudaToolChain::addClangTargetOptions(
752
753
753
754
addOpenMPDeviceRTL (getDriver (), DriverArgs, CC1Args, BitcodeSuffix,
754
755
getTriple ());
755
- AddStaticDeviceLibsPostLinking (getDriver (), DriverArgs, CC1Args, " nvptx" , GpuArch,
756
- /* bitcode SDL?*/ true , /* PostClang Link? */ true );
756
+ AddStaticDeviceLibsPostLinking (getDriver (), DriverArgs, CC1Args, " nvptx" ,
757
+ GpuArch, /* isBitCodeSDL=*/ true ,
758
+ /* postClangLink=*/ true );
757
759
}
758
760
}
759
761
0 commit comments