acc_on_device
int
acc_on_device
(acc_device_t)
Returns nonzero if invoked from code being executed on the given type of device.
API Index
OpenACC™ Application Programming Interface Version 1.0