HOME
| OPENMP API Specification: Version 5.1 November 2020

3.2.17  omp_get_level

Summary The 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.

Binding The binding task set for an omp_get_level region is the generating task.

Effect The 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