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


2.3 omp_get_nested – Nested parallel regions

Description:
This function returns true if nested parallel regions are enabled, false otherwise. Here, true and false represent their language-specific counterparts.

Nested parallel regions may be initialized at startup by the OMP_NESTED environment variable or at runtime using omp_set_nested. If undefined, nested parallel regions are disabled by default.

C/C++:

Prototype: int omp_get_nested();

Fortran:

Interface: integer function omp_get_nested()

See also:
omp_set_nested, OMP_NESTED
Reference:
OpenMP specifications v2.5, section 3.2.10.