acc_get_device_type

acc_device_t acc_get_device_type()

Returns the type of accelerator device that will be used to run the next parallel and kernels region, or acc_device_none if a device has not been explicitly selected.

API Index OpenACC™ Application Programming Interface Version 1.0