acc_get_num_devices
– Get number of devices for given device type ¶This 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.6, section 3.2.1.