omp_get_nested

Returns a value that indicates if nested parallelism is enabled.

int omp_get_nested( );

Return Value

If nonzero, nested parallelism is enabled.

Remarks

Nested parallelism is specified with omp_set_nested and OMP_NESTED.

For more information, see 3.1.10 omp_get_nested Function.

Example

See omp_set_nested for an example of using omp_get_nested.

See Also

Concepts

OpenMP Functions