libgomp: omp_set_default_device
1
1 2.24 'omp_set_default_device' - Set the default device for target regions
1 =========================================================================
1
1 _Description_:
1 Set the default device for target regions without device clause.
1 The argument shall be a nonnegative device number.
1
1 _C/C++_:
1 _Prototype_: 'void omp_set_default_device(int device_num);'
1
1 _Fortran_:
1 _Interface_: 'subroutine omp_set_default_device(device_num)'
1 'integer device_num'
1
1 _See also_:
1 ⇒OMP_DEFAULT_DEVICE, ⇒omp_get_default_device
1
1 _Reference_:
1 OpenMP specification v4.5 (http://www.openmp.org/), Section 3.2.29.
1