acc_set_device_num – Set device number to use.#

Description

This function will indicate to the runtime which device number, specified by devicenum, associated with the specified device type devicetype.

C/C++:

Prototype:

acc_set_device_num(int devicenum, acc_device_t devicetype);

Fortran:

Interface:

subroutine acc_set_device_num(devicenum, devicetype)

integer devicenum

integer(kind=acc_device_kind) devicetype

Reference:

OpenACC specification v2.6, section 3.2.4.