Next: omp_is_initial_device
– Whether executing on the host device, Previous: omp_in_parallel
– Whether a parallel region is active, Up: OpenMP Runtime Library Routines [Contents][Index]
omp_in_final
– Whether in final or included task regionThis function returns true
if currently running in a final
or included task region, false
otherwise. Here, true
and false
represent their language-specific counterparts.
Prototype: | int omp_in_final(void); |
Interface: | logical function omp_in_final() |
OpenMP specification v4.5, Section 3.2.21.