int omp_get_active_level(void);
Summary The omp_get_active_level routine returns the value of the active-level-var ICV.
Binding The binding task set for the an omp_get_active_level region is the generating task.
Effect The effect of the omp_get_active_level routine is to return the number of nested active parallel regions enclosing the current task such that all of the parallel regions are enclosed by the outermost initial task region on the current device.