HOME
| OPENMP API Specification: Version 5.1 November 2020

3.2.16  omp_get_max_active_levels

Summary The 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 when the innermost parallel region is generated by the current task.

Format

SVG-Viewer needed.

 

 
int omp_get_max_active_levels(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
integer function omp_get_max_active_levels()  

SVG-Viewer needed.

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

Effect The omp_get_max_active_levels routine returns the value of the max-active-levels-var ICV. The current task may only generate an active parallel region if the returned value is greater than the value of the active-levels-var ICV.

Cross References