HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.41  omp_get_initial_device

SummaryThe omp_get_initial_device routine returns a device number that represents the host device.

Format

SVG-Viewer needed.

 

 
int omp_get_initial_device(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
integer function omp_get_initial_device()  

SVG-Viewer needed.

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

EffectThe effect of this routine is to return the device number of the host device. The value of the device number is implementation defined. When called from within a target region the effect of this routine is unspecified.

Cross References