OMP_NUM_TEAMS (GNU libgomp)

### 4.11 `OMP_NUM_TEAMS` – Specifies the number of teams to use by teams region ¶

ICV: nteams-var
Scope: device
Description:

  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.

See also:

  `omp_set_num_teams` – Set upper teams limit for teams construct

Reference:

  OpenMP specification v5.1, Section 6.23