Next: , Previous: acc_update_device, Up: OpenACC Runtime Library Routines

5.24 acc_update_self – Update host memory from mapped device memory.

This function updates the host copy from the previously mapped device memory. The host memory is specified with the host address a and a length of len bytes.

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_update_self(h_void *a, size_t len);


Interface: subroutine acc_update_self(a)
type, dimension(:[,:]...) :: a
Interface: subroutine acc_update_self(a, len)
type, dimension(:[,:]...) :: a
integer len

OpenACC specification v2.0, section 3.2.24.