acc_get_device_num – Get device number to be used.#
- Description
This function returns which device number associated with the specified device type
devicetype, will be used when executing a parallel or kernels region.- C/C++:
Prototype:
int acc_get_device_num(acc_device_t devicetype);- Fortran:
Interface:
function acc_get_device_num(devicetype)integer(kind=acc_device_kind) devicetypeinteger acc_get_device_num- Reference:
OpenACC specification v2.6, section 3.2.5.