int omp_get_num_places(void);
Summary The omp_get_num_places routine returns the number of places available to the execution environment in the place list.
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.