================
@@ -5132,6 +5132,22 @@ static void ProcessVSRuntimeLibrary(const ToolChain &TC,
const ArgList &Args,
CmdArgs.push_back("--dependent-lib=softintrin");
}
+static bool CanRunOffloadDeviceCC1JobInParallel(const JobAction &JA) {
+ if (JA.getOffloadingArch().empty())
+ return false;
+
+ if (!JA.isDeviceOffloading(Action::OFK_HIP))
----------------
yxsamliu wrote:
Addressed. This is now based on offload device cc1 jobs, not HIP specifically.
Non-offload compilations stay on the existing path.
https://github.com/llvm/llvm-project/pull/208254
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits