HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.35  omp_get_default_device

SummaryThe omp_get_default_device routine returns the default target device.

Format

SVG-Viewer needed.

 

 
int omp_get_default_device(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
integer function omp_get_default_device()  

SVG-Viewer needed.

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

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

Cross References