int omp_get_level(void);
SummaryThe omp_get_level routine returns the value of the levels-var ICV.
BindingThe binding task set for an omp_get_level region is the generating task.
EffectThe effect of the omp_get_level routine is to return the number of nested parallel regions (whether active or inactive) that enclose the current task such that all of the parallel regions are enclosed by the outermost initial task region on the current device.