GNU libgomp: acc_map_data

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

### 5.25 `acc_map_data` – Map previously allocated device memory to host memory.

Description

  This function maps previously allocated device and host memory. The device memory is specified with the device address d. The host memory is specified with the host address h and a length of len.

C/C++:

  Prototype: | `acc_map_data(h_void *h, d_void *d, size_t len);`

Reference:

  OpenACC specification v2.0, section 3.2.25.