omp_get_num_devices
– Number of target devices ¶Returns the number of target devices.
The effect of running this routine in a target
region is unspecified.
Prototype: | int omp_get_num_devices(void); |
Interface: | integer function omp_get_num_devices() |
OpenMP specification v4.5, Section 3.2.31.