int omp_get_default_device(void);
Summary The omp_get_default_device routine returns the default target device.
Binding The binding task set for an omp_get_default_device region is the generating task.
Effect The omp_get_default_device routine returns the value of the default-device-var ICV of the current task. When called from within a target region the effect of this routine is unspecified.