Neko  0.9.0
A portable framework for high-order spectral element flow simulations
device::device_memcpy Interface Reference

Copy data between host and device (or device and device) More...

Public Member Functions

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...
 

Detailed Description

Definition at line 51 of file device.F90.

Member Function/Subroutine Documentation

◆ 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.

Here is the call graph for this function:

◆ 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 
)

Definition at line 203 of file device.F90.

Here is the call graph for this function:

◆ 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 
)

Definition at line 241 of file device.F90.

Here is the call graph for this function:

◆ 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 
)

Definition at line 279 of file device.F90.

Here is the call graph for this function:

◆ 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 
)

Definition at line 317 of file device.F90.

Here is the call graph for this function:

The documentation for this interface was generated from the following file: