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


2.12 omp_get_num_procs – Number of processors online

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

Prototype: int omp_get_num_procs(void);

Fortran:

Interface: integer function omp_get_num_procs()

Reference:
OpenMP specification v4.5, Section 3.2.5.