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