GNU libgomp: acc_deviceptr

Next: acc_hostptr, Previous: acc_unmap_data, Up: OpenACC Runtime Library Routines [Contents][Index]

### 5.27 `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 h.

C/C++:

  Prototype: | `void *acc_deviceptr(h_void *h);`

Reference:

  OpenACC specification v2.0, section 3.2.27.