[flang-commits] [flang] [OpenMPIRBuilder] Add ThreadLimit and NumTeamsUpper clauses to teams clause (PR #68364)
via flang-commits
flang-commits at lists.llvm.org
Mon Oct 9 07:36:44 PDT 2023
================
@@ -1917,8 +1917,13 @@ class OpenMPIRBuilder {
///
/// \param Loc The location where the teams construct was encountered.
/// \param BodyGenCB Callback that will generate the region code.
+ /// \param NumTeamsUpper Upper bound on the number of teams.
+ /// \param ThreadLimit on the number of threads that may participate in a
+ /// contention group created by each team.
InsertPointTy createTeams(const LocationDescription &Loc,
- BodyGenCallbackTy BodyGenCB);
+ BodyGenCallbackTy BodyGenCB,
+ Value *NumTeamsUpper = nullptr,
----------------
shraiysh wrote:
Oh, I had not seen this. I think I will update the PR to handle this. Thank you for pointing this out! 👍
https://github.com/llvm/llvm-project/pull/68364
More information about the flang-commits
mailing list