int omp_get_initial_device(void);
Summary The omp_get_initial_device routine returns a device number that represents the host device.
Binding The binding task set for an omp_get_initial_device region is the generating task.
Effect The effect of this routine is to return the device number of the host device. The value of the device number is the value returned by the omp_get_num_devices routine. When called from within a target region the effect of this routine is unspecified.