]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgomp/doc/openmp-environment-variables/ompmaxactivelevels.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / libgomp / doc / openmp-environment-variables / ompmaxactivelevels.rst
CommitLineData
c63539ff
ML
1..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6.. index:: Environment Variable
7
8.. _omp_max_active_levels:
9
10OMP_MAX_ACTIVE_LEVELS -- Set the maximum number of nested parallel regions
11**************************************************************************
12
13Description:
14 Specifies the initial value for the maximum number of nested parallel
15 regions. The value of this variable shall be a positive integer.
16 If undefined, then if :envvar:`OMP_NESTED` is defined and set to true, or
17 if :envvar:`OMP_NUM_THREADS` or :envvar:`OMP_PROC_BIND` are defined and set to
18 a list with more than one item, the maximum number of nested parallel
19 regions will be initialized to the largest number supported, otherwise
20 it will be set to one.
21
22See also:
23 :ref:`omp_set_max_active_levels`, :ref:`OMP_NESTED`
24
25Reference:
3ed1b4ce 26 :openmp:`4.5`, Section 4.9