Next: acc_async_test, Previous: acc_set_device_num, Up: OpenACC Runtime Library Routines [Contents][Index]
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.0, section 3.2.5.