Next: acc_set_device_type, Up: OpenACC Runtime Library Routines [Contents][Index]
acc_get_num_devices
– Get number of devices for given device typeThis function returns a value indicating the number of devices available for the device type specified in devicetype.
Prototype: | int acc_get_num_devices(acc_device_t devicetype); |
Interface: | integer function acc_get_num_devices(devicetype) |
integer(kind=acc_device_kind) devicetype |
OpenACC specification v2.0, section 3.2.1.