omp_is_initial_device
– Whether executing on the host devicetrue
if currently running on the host device,
false
otherwise. Here, true
and false
represent
their language-specific counterparts.
Prototype: | int omp_is_initial_device(void);
|
Interface: | logical function omp_is_initial_device()
|