int omp_is_initial_device(void);
Summary The omp_is_initial_device routine returns true if the current task is executing on the host device; otherwise, it returns false.
Binding The binding task set for an omp_is_initial_device region is the generating task.
Effect The effect of this routine is to return true if the current task is executing on the host device; otherwise, it returns false.