Next: , Previous: , Up: Runtime Library Routines   [Contents][Index]


3.33 omp_set_num_teams – Set upper teams limit for teams construct

Description:

Specifies the upper bound for number of teams created by the teams construct which does not specify a num_teams clause. The argument of omp_set_num_teams shall be a positive integer.

C/C++:
Prototype:void omp_set_num_teams(int num_teams);
Fortran:
Interface:subroutine omp_set_num_teams(num_teams)
integer, intent(in) :: num_teams
See also:

OMP_NUM_TEAMS, omp_get_num_teams, omp_get_max_teams

Reference:

OpenMP specification v5.1, Section 3.4.3.