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


2.11 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.5, Section 3.2.31.