Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
gs_device_mpi::gs_device_mpi_buf_t Type Reference

Buffers for non-blocking communication and packing/unpacking. More...

Public Member Functions

procedure, pass(this) init (this, pe_order, dof_stack, mark_dupes)
procedure, pass(this) init_vec (this)
 Allocate this buffer's fused vector slab, sized for up to GS_VEC_NC components. Deferred to the first fused exchange, see gs_comm_t.
procedure, pass(this) free (this)

Public Attributes

integer, dimension(:), allocatable ndofs
 Number of dofs.
integer, dimension(:), allocatable offset
 Offset into buf.
integer total
 Total number of dofs.
type(c_ptr) reqs = C_NULL_PTR
 MPI request array in C.
type(c_ptr) buf_d = C_NULL_PTR
 Device buffer.
type(c_ptr) buf_v_d = C_NULL_PTR
 Device buffer, fused vector (x nc).
type(c_ptr) dof_d = C_NULL_PTR
 Dof mapping for pack/unpack.

Detailed Description

Definition at line 52 of file gs_device_mpi.F90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(this) gs_device_mpi::gs_device_mpi_buf_t::free ( class(gs_device_mpi_buf_t), intent(inout) this)

Definition at line 63 of file gs_device_mpi.F90.

◆ init()

procedure, pass(this) gs_device_mpi::gs_device_mpi_buf_t::init ( class(gs_device_mpi_buf_t), intent(inout) this,
integer, dimension(:), intent(inout), allocatable pe_order,
type(stack_i4_t), dimension(:), intent(inout), allocatable dof_stack,
logical, intent(in) mark_dupes )

Definition at line 61 of file gs_device_mpi.F90.

◆ init_vec()

procedure, pass(this) gs_device_mpi::gs_device_mpi_buf_t::init_vec ( class(gs_device_mpi_buf_t), intent(inout) this)

Definition at line 62 of file gs_device_mpi.F90.

Member Data Documentation

◆ buf_d

type(c_ptr) gs_device_mpi::gs_device_mpi_buf_t::buf_d = C_NULL_PTR

Definition at line 57 of file gs_device_mpi.F90.

◆ buf_v_d

type(c_ptr) gs_device_mpi::gs_device_mpi_buf_t::buf_v_d = C_NULL_PTR

Definition at line 58 of file gs_device_mpi.F90.

◆ dof_d

type(c_ptr) gs_device_mpi::gs_device_mpi_buf_t::dof_d = C_NULL_PTR

Definition at line 59 of file gs_device_mpi.F90.

◆ ndofs

integer, dimension(:), allocatable gs_device_mpi::gs_device_mpi_buf_t::ndofs

Definition at line 53 of file gs_device_mpi.F90.

◆ offset

integer, dimension(:), allocatable gs_device_mpi::gs_device_mpi_buf_t::offset

Definition at line 54 of file gs_device_mpi.F90.

◆ reqs

type(c_ptr) gs_device_mpi::gs_device_mpi_buf_t::reqs = C_NULL_PTR

Definition at line 56 of file gs_device_mpi.F90.

◆ total

integer gs_device_mpi::gs_device_mpi_buf_t::total

Definition at line 55 of file gs_device_mpi.F90.


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