omp_get_active_level

void omp_get_active_level(void)
Returns the number of nested, active parallel regions enclosing the task that contains the call.


OpenMP API Index