HOME
| OPENMP API Specification: Version 5.1 November 2020

3.4.4  omp_get_max_teams

Summary The omp_get_max_teams routine returns an upper bound on the number of teams that could be created by a teams construct without a num_teams clause that is encountered after execution returns from this routine.

Format

SVG-Viewer needed.

 

 
int omp_get_max_teams(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
integer function omp_get_max_teams()  

SVG-Viewer needed.

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

Effect The value returned by omp_get_max_teams is the value of the nteams-var ICV of the current task. This value is also an upper bound on the number of teams that can be created by a teams construct without a num_teams clause that is encountered after execution returns from this routine.

Cross References