================
@@ -8582,6 +8596,17 @@ OpenMPIRBuilder::InsertPointTy
OpenMPIRBuilder::createTargetInit(
}
}
+ // Generic mode runs the main thread on a warp of its own, past thread_limit.
+ bool NeedsMainThreadWarp =
----------------
dhruvachak wrote:
Why not check against OMP_TGT_EXEC_MODE_GENERIC directly? For example, are we
adding the extra warp for BARE-mode here, why?
https://github.com/llvm/llvm-project/pull/218790
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits