omp_get_nested
Returns a value that indicates if nested parallelism is enabled.
int omp_get_nested( );
Возвращаемое значение
If nonzero, nested parallelism is enabled.
Заметки
Nested parallelism is specified with omp_set_nested and OMP_NESTED.
For more information, see 3.1.10 omp_get_nested Function.
Пример
See omp_set_nested for an example of using omp_get_nested.