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


2.26 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_nested(int nested);

Fortran:

Interface: subroutine omp_set_nested(nested)
logical, intent(in) :: nested

See also:
OMP_NESTED, omp_get_nested
Reference:
OpenMP specification v4.0, Section 3.2.10.