HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.40  omp_is_initial_device

SummaryThe omp_is_initial_device routine returns true if the current task is executing on the host device; otherwise, it returns false.

Format

SVG-Viewer needed.

 

 
int omp_is_initial_device(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
logical function omp_is_initial_device()  

SVG-Viewer needed.

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

EffectThe effect of this routine is to return true if the current task is executing on the host device; otherwise, it returns false.

Cross References