libgomp: acc_update_device
1
1 5.23 'acc_update_device' - Update device memory from mapped host memory.
1 ========================================================================
1
1 _Description_
1 This function updates the device copy from the previously mapped
1 host memory. The host memory is specified with the host address A
1 and a length of LEN bytes.
1
1 In Fortran, two (2) forms are supported. In the first form, A
1 specifies a contiguous array section. The second form A specifies
1 a variable or array element and LEN specifies the length in bytes.
1
1 _C/C++_:
1 _Prototype_: 'acc_update_device(h_void *a, size_t len);'
1
1 _Fortran_:
1 _Interface_: 'subroutine acc_update_device(a)'
1 'type, dimension(:[,:]...) :: a'
1 _Interface_: 'subroutine acc_update_device(a, len)'
1 'type, dimension(:[,:]...) :: a'
1 'integer len'
1
1 _Reference_:
1 OpenACC specification v2.0 (https://www.openacc.org), section
1 3.2.23.
1