3.1.13 omp_get_teams_thread_limit – Maximum number of threads imposed by teams

Description:

Return the maximum number of threads that are able to participate in each team created by a teams construct.

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

omp_set_teams_thread_limit – Set upper thread limit for teams construct, OMP_TEAMS_THREAD_LIMIT – Set the maximum number of threads imposed by teams

Reference:

OpenMP specification v5.1, Section 3.4.6.