omp_is_initial_device
Purpose
The omp_is_initial_device function tests whether the current task is executing on the host device.
Prototype
int omp_is_initial_device(void);
Result Value
If the current task is executing on the host device, the function returns nonzero. Otherwise, it returns zero.