HOME
| OPENMP API Specification: Version 5.1 November 2020

3.3.2  omp_get_num_places

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

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