omp_get_max_active_levels

Purpose

Returns the value of the max-active-levels-var internal control variable that determines the maximum number of nested active parallel regions. max-active-levels-var can be set with the OMP_MAX_ACTIVE_LEVELS environment variable or the omp_set_max_active_levels runtime routine.

Prototype

int omp_get_max_active_levels(void);