omp_set_max_active_levels – Limits the number of active parallel regions ¶This function limits the maximum allowed number of nested, active
parallel regions. max_levels must be less or equal to
the value returned by omp_get_supported_active_levels.
| Prototype: | void omp_set_max_active_levels(int max_levels); |
| Interface: | subroutine omp_set_max_active_levels(max_levels) |
integer max_levels |
omp_get_max_active_levels – Current maximum number of active regions, omp_get_active_level – Number of parallel regions,
omp_get_supported_active_levels – Maximum number of active regions supported
OpenMP specification v4.5, Section 3.2.15.