libgomp: acc_get_device_num
1
1 5.5 'acc_get_device_num' - Get device number to be used.
1 ========================================================
1
1 _Description_
1 This function returns which device number associated with the
1 specified device type DEVICETYPE, will be used when executing a
1 parallel or kernels region.
1
1 _C/C++_:
1 _Prototype_: 'int acc_get_device_num(acc_device_t devicetype);'
1
1 _Fortran_:
1 _Interface_: 'function acc_get_device_num(devicetype)'
1 'integer(kind=acc_device_kind) devicetype'
1 'integer acc_get_device_num'
1
1 _Reference_:
1 OpenACC specification v2.0 (https://www.openacc.org), section
1 3.2.5.
1