omp_is_initial_device – Whether executing on the host device#
- Description:
This function returns
trueif currently running on the host device,falseotherwise. Here,trueandfalserepresent their language-specific counterparts.- C/C++:
Prototype:
int omp_is_initial_device(void);- Fortran:
Interface:
logical function omp_is_initial_device()- Reference:
OpenMP specification v4.5, Section 3.2.34.