]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgomp/doc/openmp-environment-variables/ompnumteams.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / libgomp / doc / openmp-environment-variables / ompnumteams.rst
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_num_teams:
9
10 OMP_NUM_TEAMS -- Specifies the number of teams to use by teams region
11 *********************************************************************
12
13 Description:
14 Specifies the upper bound for number of teams to use in teams regions
15 without explicit ``num_teams`` clause. The value of this variable shall
16 be a positive integer. If undefined it defaults to 0 which means
17 implementation defined upper bound.
18
19 See also:
20 :ref:`omp_set_num_teams`
21
22 Reference:
23 :openmp:`5.1`, Section 6.23