HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.38  omp_get_num_teams

SummaryThe omp_get_num_teams routine returns the number of initial teams in the current teams region.

Format

SVG-Viewer needed.

 

 
int omp_get_num_teams(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
integer function omp_get_num_teams()  

SVG-Viewer needed.

BindingThe binding task set for an omp_get_num_teams region is the generating task

EffectThe effect of this routine is to return the number of initial teams in the current teams region. The routine returns 1 if it is called from outside of a teams region.

Cross References