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


2.9 omp_set_nested – Enable/disable nested parallel regions

Description:
Enable or disable nested parallel regions, i.e., whether team members are allowed to create new teams. 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);

Fortran:

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

See also:
OMP_NESTED, omp_get_nested
Reference:
OpenMP specifications v2.5, section 3.2.9.