OMP_DEFAULT_DEVICE – Set the device used in target regions#
- Description:
Set to choose the device which is used in a
targetregion, unless the value is overridden byomp_set_default_deviceor by adeviceclause. The value shall be the nonnegative device number. If no device with the given device number exists, the code is executed on the host. If unset, device number 0 will be used.- See also:
omp_get_default_device – Get the default device for target regions, omp_set_default_device – Set the default device for target regions,
- Reference:
OpenMP specification v4.5, Section 4.13