acc_get_num_devices

int acc_get_num_devices(acc_device_t)

Returns the number of attached accelerator devices that have the given type.

API Index OpenACC™ Application Programming Interface Version 1.0