libgomp: omp_is_initial_device
1
1 2.23 'omp_is_initial_device' - Whether executing on the host device
1 ===================================================================
1
1 _Description_:
1 This function returns 'true' if currently running on the host
1 device, 'false' otherwise. Here, 'true' and 'false' represent
1 their language-specific counterparts.
1
1 _C/C++_:
1 _Prototype_: 'int omp_is_initial_device(void);'
1
1 _Fortran_:
1 _Interface_: 'logical function omp_is_initial_device()'
1
1 _Reference_:
1 OpenMP specification v4.5 (http://www.openmp.org/), Section 3.2.34.
1