Next: omp_get_num_devices, Previous: omp_get_max_threads, Up: Runtime Library Routines [Contents][Index]
omp_get_nested – Nested parallel regionsThis 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.
| Prototype: | int omp_get_nested(void); |
| Interface: | logical function omp_get_nested() |
OpenMP specification v4.5, Section 3.2.11.