Next: acc_delete, Previous: acc_present_or_create, Up: OpenACC Runtime Library Routines [Contents][Index]
acc_copyout
– Copy device memory to host memory.This function copies mapped device memory to host memory which is specified by host address a for a length len bytes in C/C++.
In Fortran, two (2) forms are supported. In the first form, a specifies a contiguous array section. The second form a specifies a variable or array element and len specifies the length in bytes.
Prototype: | acc_copyout(h_void *a, size_t len); |
Interface: | subroutine acc_copyout(a) |
type, dimension(:[,:]...) :: a | |
Interface: | subroutine acc_copyout(a, len) |
type, dimension(:[,:]...) :: a | |
integer len |
OpenACC specification v2.0, section 3.2.21.