Loading [MathJax]/extensions/tex2jax.js
Neko 0.9.99
A portable framework for high-order spectral element flow simulations
All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Pages
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)
 
subroutine device_memcpy_r2 (x, x_d, n, dir, sync, strm)
 Copy data between host and device (rank 2 arrays)
 
subroutine device_memcpy_r3 (x, x_d, n, dir, sync, strm)
 Copy data between host and device (rank 3 arrays)
 
subroutine device_memcpy_r4 (x, x_d, n, dir, sync, strm)
 Copy data between host and device (rank 4 arrays)
 
subroutine device_memcpy_cptr (dst, src, s, dir, sync, strm)
 Copy data between host and device (or device and device) (c-pointers)
 

Detailed Description

Definition at line 65 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 372 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 218 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 256 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 294 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 332 of file device.F90.

Here is the call graph for this function:

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