================
@@ -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))
----------------
arsenm wrote:
Should not depend on the language. IMO we should remove all of the language
discriminators and just have host vs. device
https://github.com/llvm/llvm-project/pull/208254
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits