]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgomp/doc/openmp-runtime-library-routines/ompsetmaxactivelevels.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / libgomp / doc / openmp-runtime-library-routines / ompsetmaxactivelevels.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.. _omp_set_max_active_levels:
7
8omp_set_max_active_levels -- Limits the number of active parallel regions
9*************************************************************************
10
11Description:
12 This function limits the maximum allowed number of nested, active
13 parallel regions. :samp:`{max_levels}` must be less or equal to
14 the value returned by ``omp_get_supported_active_levels``.
15
16C/C++:
17 .. list-table::
18
19 * - *Prototype*:
20 - ``void omp_set_max_active_levels(int max_levels);``
21
22Fortran:
23 .. list-table::
24
25 * - *Interface*:
26 - ``subroutine omp_set_max_active_levels(max_levels)``
27 * -
28 - ``integer max_levels``
29
30See also:
31 :ref:`omp_get_max_active_levels`, :ref:`omp_get_active_level`,
32 :ref:`omp_get_supported_active_levels`
33
34Reference:
3ed1b4ce 35 :openmp:`4.5`, Section 3.2.15.