3.1.14 omp_get_supported_active_levels – Maximum number of active regions supported

Description:

This function returns the maximum number of nested, active parallel regions supported by this implementation.

C/C++
Prototype:int omp_get_supported_active_levels(void);
Fortran:
Interface:integer function omp_get_supported_active_levels()
See also:

omp_get_max_active_levels – Current maximum number of active regions, omp_set_max_active_levels – Limits the number of active parallel regions

Reference:

OpenMP specification v5.0, Section 3.2.15.