]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgomp/doc/openmp-runtime-library-routines/ompgetnumprocs.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / libgomp / doc / openmp-runtime-library-routines / ompgetnumprocs.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_get_num_procs:
7
8omp_get_num_procs -- Number of processors online
9************************************************
10
11Description:
12 Returns the number of processors online on that device.
13
14C/C++:
15 .. list-table::
16
17 * - *Prototype*:
18 - ``int omp_get_num_procs(void);``
19
20Fortran:
21 .. list-table::
22
23 * - *Interface*:
24 - ``integer function omp_get_num_procs()``
25
26Reference:
3ed1b4ce 27 :openmp:`4.5`, Section 3.2.5.