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(void);

Fortran:

Interface: integer function omp_get_num_procs()

Reference:
OpenMP specifications v3.1, section 3.2.5.