Next: omp_get_nested
– Nested parallel regions, Previous: omp_get_max_teams
– Maximum number of teams of teams region, Up: OpenMP Runtime Library Routines [Contents][Index]
omp_get_max_threads
– Maximum number of threads of parallel regionReturn the maximum number of threads used for the current parallel region
that does not use the clause num_threads
.
Prototype: | int omp_get_max_threads(void); |
Interface: | integer function omp_get_max_threads() |
omp_set_num_threads
– Set upper team size limit, omp_set_dynamic
– Enable/disable dynamic teams, omp_get_thread_limit
– Maximum number of threads
OpenMP specification v4.5, Section 3.2.3.