OMP_NUM_TEAMS
– Specifies the number of teams to use by teams region ¶Specifies the upper bound for number of teams to use in teams regions
without explicit num_teams
clause. The value of this variable shall
be a positive integer. If undefined it defaults to 0 which means
implementation defined upper bound.
omp_set_num_teams
– Set upper teams limit for teams construct
OpenMP specification v5.1, Section 6.23