Next: acc_get_device_num, Previous: acc_get_device_type, Up: OpenACC Runtime Library Routines [Contents][Index]
acc_set_device_num – Set device number to use.This function will indicate to the runtime which device number, specified by num, associated with the specifed device type devicetype.
| Prototype: | acc_set_device_num(int num, acc_device_t devicetype); |
| Interface: | subroutine acc_set_device_num(devicenum, devicetype) |
integer devicenum | |
integer(kind=acc_device_kind) devicetype |
OpenACC specification v2.0, section 3.2.4.