acc_get_device_type– Get type of device accelerator to be used.
This function returns what device type will be used when executing a parallel or kernels region.
This function returns
acc_get_device_type is called from
callbacks of the OpenACC Profiling Interface (OpenACC Profiling Interface), that is, if the device is currently being initialized.
OpenACC specification v2.6, section 3.2.3.