void omp_set_default_device(int device_num);
Summary The omp_set_default_device routine controls the default target device by assigning the value of the default-device-var ICV.
Binding The binding task set for an omp_set_default_device region is the generating task.
Effect The effect of this routine is to set the value of the default-device-var ICV of the current task to the value specified in the argument. When called from within a target region the effect of this routine is unspecified.