int omp_get_supported_active_levels(void);
Summary The omp_get_supported_active_levels routine returns the number of active levels of parallelism supported by the implementation.
Binding The binding task set for an omp_get_supported_active_levels region is the generating task.
Effect The omp_get_supported_active_levels routine returns the number of active levels of parallelism supported by the implementation. The max-active-levels-var ICV may not have a value that is greater than this number. The value returned by the omp_get_supported_active_levels routine is implementation defined, but it must be greater than 0.