Next: acc_is_present, Previous: acc_deviceptr, Up: OpenACC Runtime Library Routines [Contents][Index]

### 5.28 `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 d.

C/C++:

  Prototype: | `void *acc_hostptr(d_void *d);`

Reference:

  OpenACC specification v2.0, section 3.2.28.