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


2.10 omp_get_num_devices – Number of target devices

Description:
Returns the number of target devices.
C/C++:

Prototype: int omp_get_num_devices(void);

Fortran:

Interface: integer function omp_get_num_devices()

Reference:
OpenMP specification v4.0, Section 3.2.25.