6.29 acc_hostptr – Get host pointer associated with specific device address.

Description

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

C/C++:
Prototype:void *acc_hostptr(d_void *data_dev);
Fortran:
Interface:type(c_ptr) function acc_hostptr(data_dev)
type(c_ptr), value :: data_dev
Reference:

OpenACC specification v2.6, section 3.2.29. OpenACC specification v3.3, section 3.2.24.