int omp_get_max_active_levels(void);
SummaryThe omp_get_max_active_levels routine returns the value of the max-active-levels-var ICV, which determines the maximum number of nested active parallel regions on the device.
BindingWhen called from a sequential part of the program, the binding thread set for an omp_get_max_active_levels region is the encountering thread. When called from within any parallel or teams region, the binding thread set (and binding region, if required) for the omp_get_max_active_levels region is implementation defined.
EffectThe omp_get_max_active_levels routine returns the value of the max-active-levels-var ICV, which determines the maximum number of nested active parallel regions on the device.