int omp_get_num_devices(void);
SummaryThe omp_get_num_devices routine returns the number of target devices.
BindingThe binding task set for an omp_get_num_devices region is the generating task.
EffectThe omp_get_num_devices routine returns the number of available target devices. When called from within a target region the effect of this routine is unspecified.