Next: omp_get_level, Previous: omp_get_dynamic, Up: Runtime Library Routines [Contents][Index]
omp_get_initial_device
– Return device number of initial deviceThis function returns a device number that represents the host device.
For OpenMP 5.1, this must be equal to the value returned by the
omp_get_num_devices
function.
Prototype: | int omp_get_initial_device(void); |
Interface: | integer function omp_get_initial_device() |
OpenMP specification v4.5, Section 3.2.35.