In OpenMP is there a way to know if we are inside an omp single region?

Viewed 73

Is there a way in OpenMP (4.5 and later) to know if we are inside an "omp single" region? For example there is the "omp_in_parallel()" function which checks if we are inside a parallel region. Is there a way to know if we are inside an "omp single" region?

0 Answers
Related