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


2.18 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 set);

Fortran:

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

See also:
OMP_NESTED, omp_get_nested
Reference:
OpenMP specifications v3.1, section 3.2.9.