Next: , Previous: omp_get_nested, Up: Runtime Library Routines


2.8 omp_get_num_procs – Number of processors online

Description:
Returns the number of processors online.
C/C++:

Prototype: int omp_get_num_procs();

Fortran:

Interface: integer function omp_get_num_procs()

Reference:
OpenMP specifications v3.0, section 3.2.5.