6.28 acc_deviceptr – Get device pointer associated with specific host address.

Description

This function returns the device address that has been mapped to the host address specified by data_arg.

C/C++:
Prototype:void *acc_deviceptr(h_void *data_arg);
Fortran:
Interface:type(c_ptr) function acc_deviceptr(data_arg)
type(*), dimension(*) :: data_arg
Reference:

OpenACC specification v2.6, section 3.2.28. OpenACC specification v3.3, section 3.2.23.