libgomp: acc_copyin

1 
1 5.17 'acc_copyin' - Allocate device memory and copy host memory to it.
1 ======================================================================
1 
1 _Description_
1      In C/C++, this function allocates LEN bytes of device memory and
1      maps it to the specified host address in A.  The device address of
1      the newly allocated device memory is returned.
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_:   'void *acc_copyin(h_void *a, size_t len);'
1 
1 _Fortran_:
1      _Interface_:   'subroutine acc_copyin(a)'
1                     'type, dimension(:[,:]...) :: a'
1      _Interface_:   'subroutine acc_copyin(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.17.
1