Next: omp_init_lock, Previous: omp_set_schedule, Up: Runtime Library Routines [Contents][Index]
omp_set_teams_thread_limit
– Set upper thread limit for teams constructSpecifies the upper bound for number of threads that will be available
for each team created by the teams construct which does not specify a
thread_limit
clause. The argument of
omp_set_teams_thread_limit
shall be a positive integer.
Prototype: | void omp_set_teams_thread_limit(int thread_limit); |
Interface: | subroutine omp_set_teams_thread_limit(thread_limit) |
integer, intent(in) :: thread_limit |
OMP_TEAMS_THREAD_LIMIT, omp_get_teams_thread_limit, omp_get_thread_limit
OpenMP specification v5.1, Section 3.4.5.