Next: acc_get_current_cuda_device, Previous: acc_memcpy_to_device, Up: OpenACC Runtime Library Routines [Contents][Index]

### 5.31 `acc_memcpy_from_device` – Copy device memory to host memory.

Description

  This function copies host memory specified by host address of src from device memory specified by the device address dest for a length of bytes bytes.

C/C++:

  Prototype: | `acc_memcpy_from_device(d_void *dest, h_void *src, size_t bytes);`

Reference:

  OpenACC specification v2.0, section 3.2.31.