acc_copyin
– Allocate device memory and copy host memory to it.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: | void *acc_copyin(h_void *a, size_t len);
|
Interface: | subroutine acc_copyin(a)
|
type, dimension(:[,:]...) :: a
| |
Interface: | subroutine acc_copyin(a, len)
|
type, dimension(:[,:]...) :: a
| |
integer len
|