omp_set_default_device
– Set the default device for target regions ¶Set the default device for target regions without device clause. The argument shall be a nonnegative device number.
Prototype: | void omp_set_default_device(int device_num); |
Interface: | subroutine omp_set_default_device(device_num) |
integer device_num |
OMP_DEFAULT_DEVICE
– Set the device used in target regions, omp_get_default_device
– Get the default device for target regions
OpenMP specification v4.5, Section 3.2.29.