libgomp: acc_set_device_num
1
1 5.4 'acc_set_device_num' - Set device number to use.
1 ====================================================
1
1 _Description_
1 This function will indicate to the runtime which device number,
1 specified by NUM, associated with the specifed device type
1 DEVICETYPE.
1
1 _C/C++_:
1 _Prototype_: 'acc_set_device_num(int num, acc_device_t devicetype);'
1
1 _Fortran_:
1 _Interface_: 'subroutine acc_set_device_num(devicenum, devicetype)'
1 'integer devicenum'
1 'integer(kind=acc_device_kind) devicetype'
1
1 _Reference_:
1 OpenACC specification v2.0 (https://www.openacc.org), section
1 3.2.4.
1