HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.25  omp_get_place_num_procs

SummaryThe omp_get_place_num_procs routine returns the number of processors available to the execution environment in the specified place.

Format

SVG-Viewer needed.

 

 
int omp_get_place_num_procs(int place_num);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
integer function omp_get_place_num_procs(place_num) 
integer place_num  

SVG-Viewer needed.

BindingThe binding thread set for an omp_get_place_num_procs region is all threads on a device. The effect of executing this routine is not related to any specific region corresponding to any construct or API routine.

EffectThe omp_get_place_num_procs routine returns the number of processors associated with the place numbered place_num. The routine returns zero when place_num is negative, or is greater than or equal to the value returned by omp_get_num_places().

Cross References