Next: , Previous: omp_in_final, Up: Runtime Library Routines


2.16 omp_set_dynamic – Enable/disable dynamic teams

Description:
Enable or disable the dynamic adjustment of the number of threads within a team. The function takes the language-specific equivalent of true and false, where true enables dynamic adjustment of team sizes and false disables it.
C/C++:

Prototype: void omp_set_dynamic(int set);

Fortran:

Interface: subroutine omp_set_dynamic(set)
logical, intent(in) :: set

See also:
OMP_DYNAMIC, omp_get_dynamic
Reference:
OpenMP specifications v3.1, section 3.2.7.