================ @@ -6440,7 +6440,8 @@ const ToolChain &Driver::getToolChain(const ArgList &Args, TC = std::make_unique<toolchains::NVPTXToolChain>(*this, Target, Args); break; case llvm::Triple::AMDHSA: - TC = std::make_unique<toolchains::ROCMToolChain>(*this, Target, Args); + TC = std::make_unique<toolchains::ROCMToolChain>(*this, Target, Args, + Target.isOSWindows()); ---------------- jhuber6 wrote:
Do we actually require the ROCm installation from the device's TC? I guess it'd be used when making the device interface? The `HIPAMDToolChain` has a reference to the host toolchain, so I'd argue that we should use that one's ROCm installation and never use the device one. https://github.com/llvm/llvm-project/pull/113628 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits