Partager via


omp_get_nested

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

Returns a value that indicates if nested parallelism is enabled.

Syntax

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

Functions