HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.34  omp_set_default_device

Summary The omp_set_default_device routine controls the default target device by assigning the value of the default-device-var ICV.

Format

SVG-Viewer needed.

 

 
void omp_set_default_device(int device_num);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
subroutine omp_set_default_device(device_num) 
integer device_num  

SVG-Viewer needed.

BindingThe binding task set for an omp_set_default_device region is the generating task.

EffectThe 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.

Cross References