HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.17  omp_get_max_active_levels

SummaryThe 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 on the device.

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.

BindingWhen called from a sequential part of the program, the binding thread set for an omp_get_max_active_levels region is the encountering thread. When called from within any parallel or teams region, the binding thread set (and binding region, if required) for the omp_get_max_active_levels region is implementation defined.

EffectThe 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 on the device.

Cross References