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


3.11 omp_get_max_teams – Maximum number of teams of teams region

Description:

Return the maximum number of teams used for the teams region that does not use the clause num_teams.

C/C++:
Prototype:int omp_get_max_teams(void);
Fortran:
Interface:integer function omp_get_max_teams()
See also:

omp_set_num_teams – Set upper teams limit for teams construct, omp_get_num_teams – Number of teams

Reference:

OpenMP specification v5.1, Section 3.4.4.