Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.14 KB

File metadata and controls

40 lines (33 loc) · 1.14 KB
title omp_get_nested | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
omp_get_nested
dev_langs
C++
helpviewer_keywords
omp_get_nested OpenMP function
ms.assetid e9784847-516e-40d3-89f7-b8b6898d8667
caps.latest.revision 8
author mikeblome
ms.author mblome
manager ghogen

omp_get_nested

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