acc_get_num_devices – Get number of devices for given device type#
- Description
This function returns a value indicating the number of devices available for the device type specified in
devicetype
.- C/C++:
Prototype:
int acc_get_num_devices(acc_device_t devicetype);
- Fortran:
Interface:
integer function acc_get_num_devices(devicetype)
integer(kind=acc_device_kind) devicetype
- Reference:
OpenACC specification v2.6, section 3.2.1.