HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.26  omp_get_place_proc_ids

SummaryThe omp_get_place_proc_ids routine returns the numerical identifiers of the processors available to the execution environment in the specified place.

Format

SVG-Viewer needed.

 

 
void omp_get_place_proc_ids(int place_num, int *ids);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
subroutine omp_get_place_proc_ids(place_num, ids) 
integer place_num 
integer ids(*)  

SVG-Viewer needed.

BindingThe binding thread set for an omp_get_place_proc_ids 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_proc_ids routine returns the numerical identifiers of each processor associated with the place numbered place_num. The numerical identifiers are non-negative, and their meaning is implementation defined. The numerical identifiers are returned in the array ids and their order in the array is implementation defined. The array must be sufficiently large to contain omp_get_place_num_procs(place_num) integers; otherwise, the behavior is unspecified. The routine has no effect when place_num has a negative value, or a value greater than or equal to omp_get_num_places().

Cross References