Copy data between host and device (or device and device)
More...
|
subroutine | device_memcpy_r1 (x, x_d, n, dir, sync, strm) |
| Copy data between host and device (rank 1 arrays) More...
|
|
subroutine | device_memcpy_r2 (x, x_d, n, dir, sync, strm) |
| Copy data between host and device (rank 2 arrays) More...
|
|
subroutine | device_memcpy_r3 (x, x_d, n, dir, sync, strm) |
| Copy data between host and device (rank 3 arrays) More...
|
|
subroutine | device_memcpy_r4 (x, x_d, n, dir, sync, strm) |
| Copy data between host and device (rank 4 arrays) More...
|
|
subroutine | device_memcpy_cptr (dst, src, s, dir, sync, strm) |
| Copy data between host and device (or device and device) (c-pointers) More...
|
|
Definition at line 51 of file device.F90.
◆ device_memcpy_cptr()
subroutine device::device_memcpy::device_memcpy_cptr |
( |
type(c_ptr), intent(inout) |
dst, |
|
|
type(c_ptr), intent(inout) |
src, |
|
|
integer(c_size_t), intent(in) |
s, |
|
|
integer, intent(in), value |
dir, |
|
|
logical, optional |
sync, |
|
|
type(c_ptr), optional |
strm |
|
) |
| |
- Note
- For host-device copies dst is the host pointer and src is the device pointer (regardless of dir)
Definition at line 357 of file device.F90.
◆ device_memcpy_r1()
subroutine device::device_memcpy::device_memcpy_r1 |
( |
class(*), dimension(:), intent(inout), target |
x, |
|
|
type(c_ptr), intent(inout) |
x_d, |
|
|
integer, intent(in) |
n, |
|
|
integer, intent(in), value |
dir, |
|
|
logical |
sync, |
|
|
type(c_ptr), optional |
strm |
|
) |
| |
◆ device_memcpy_r2()
subroutine device::device_memcpy::device_memcpy_r2 |
( |
class(*), dimension(:,:), intent(inout), target |
x, |
|
|
type(c_ptr), intent(inout) |
x_d, |
|
|
integer, intent(in) |
n, |
|
|
integer, intent(in), value |
dir, |
|
|
logical |
sync, |
|
|
type(c_ptr), optional |
strm |
|
) |
| |
◆ device_memcpy_r3()
subroutine device::device_memcpy::device_memcpy_r3 |
( |
class(*), dimension(:,:,:), intent(inout), target |
x, |
|
|
type(c_ptr), intent(inout) |
x_d, |
|
|
integer, intent(in) |
n, |
|
|
integer, intent(in), value |
dir, |
|
|
logical |
sync, |
|
|
type(c_ptr), optional |
strm |
|
) |
| |
◆ device_memcpy_r4()
subroutine device::device_memcpy::device_memcpy_r4 |
( |
class(*), dimension(:,:,:,:), intent(inout), target |
x, |
|
|
type(c_ptr), intent(inout) |
x_d, |
|
|
integer, intent(in) |
n, |
|
|
integer, intent(in), value |
dir, |
|
|
logical |
sync, |
|
|
type(c_ptr), optional |
strm |
|
) |
| |
The documentation for this interface was generated from the following file: