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


2.9 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(void);

Fortran:

Interface: logical function omp_get_nested()

See also:
omp_set_nested, OMP_NESTED
Reference:
OpenMP specification v4.0, Section 3.2.11.