HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.18  omp_get_level

SummaryThe omp_get_level routine returns the value of the levels-var ICV.

Format

SVG-Viewer needed.

 

 
int omp_get_level(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
integer function omp_get_level()  

SVG-Viewer needed.

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.

Cross References