HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.24  omp_get_num_places

SummaryThe omp_get_num_places routine returns the number of places available to the execution environment in the place list.

Format

SVG-Viewer needed.

 

 
int omp_get_num_places(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
integer function omp_get_num_places()  

SVG-Viewer needed.

BindingThe binding thread set for an omp_get_num_places 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.

Effect The omp_get_num_places routine returns the number of places in the place list. This value is equivalent to the number of places in the place-partition-var ICV in the execution environment of the initial task.

Cross References