HOME
| OPENMP API Specification: Version 5.1 November 2020

3.4.1  omp_get_num_teams

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

Binding The binding task set for an omp_get_num_teams region is the generating task

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