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

Collaboration diagram for gs_device_mpi::gs_device_mpi_buf_t:

Public Member Functions

procedure, pass(thisinit (this, pe_order, dof_stack, mark_dupes)
 
procedure, pass(thisfree (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) dof_d = C_NULL_PTR
 Dof mapping for pack/unpack.
 

Detailed Description

Definition at line 48 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 57 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 56 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 53 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 54 of file gs_device_mpi.F90.

◆ ndofs

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

Definition at line 49 of file gs_device_mpi.F90.

◆ offset

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

Definition at line 50 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 52 of file gs_device_mpi.F90.

◆ total

integer gs_device_mpi::gs_device_mpi_buf_t::total

Definition at line 51 of file gs_device_mpi.F90.


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