Next: omp_get_device_num
– Return device number of current device, Previous: omp_get_cancellation
– Whether cancellation support is enabled, Up: OpenMP Runtime Library Routines [Contents][Index]
omp_get_default_device
– Get the default device for target regionsGet the default device for target regions without device clause.
Prototype: | int omp_get_default_device(void); |
Interface: | integer function omp_get_default_device() |
OMP_DEFAULT_DEVICE
– Set the device used in target regions, omp_set_default_device
– Set the default device for target regions
OpenMP specification v4.5, Section 3.2.30.