Next: , Previous: , Up: Runtime Library Routines   [Contents][Index]


3.31 omp_set_max_active_levels – Limits the number of active parallel regions

Description:

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.

C/C++
Prototype:void omp_set_max_active_levels(int max_levels);
Fortran:
Interface:subroutine omp_set_max_active_levels(max_levels)
integer max_levels
See also:

omp_get_max_active_levels, omp_get_active_level, omp_get_supported_active_levels

Reference:

OpenMP specification v4.5, Section 3.2.15.