Yet Another eXchange Tool 0.11.4
Loading...
Searching...
No Matches
xt_ddt.h File Reference

utility routines for manual handling of MPI DDT's More...

#include <mpi.h>
#include "core/ppm_visibility.h"
Include dependency graph for xt_ddt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct Xt_ddt_Xt_ddt
 

Functions

PPM_DSO_INTERNAL size_t xt_ddt_get_pack_size (MPI_Datatype mpi_ddt)
 
PPM_DSO_INTERNAL void xt_ddt_pack (MPI_Datatype mpi_ddt, void const *src, void *dst)
 
PPM_DSO_INTERNAL void xt_ddt_unpack (MPI_Datatype mpi_ddt, void const *src, void *dst)
 

Detailed Description

utility routines for manual handling of MPI DDT's

contains utility routines for handling manual MPI DDT's

Author
Jörg Behrens behre.nosp@m.ns@d.nosp@m.krz.d.nosp@m.e Moritz Hanke hanke.nosp@m.@dkr.nosp@m.z.de Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de

Definition in file xt_ddt.h.

Typedef Documentation

◆ Xt_ddt

typedef struct Xt_ddt_* Xt_ddt

Definition at line 62 of file xt_ddt.h.

Function Documentation

◆ xt_ddt_get_pack_size()

PPM_DSO_INTERNAL size_t xt_ddt_get_pack_size ( MPI_Datatype mpi_ddt)

gets the buffer size required to pack the data in mpi_ddt

Parameters
[in]mpi_ddtMPI Datatype
Returns
required packing buffer size

Definition at line 171 of file xt_ddt.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xt_ddt_pack()

PPM_DSO_INTERNAL void xt_ddt_pack ( MPI_Datatype mpi_ddt,
void const * src,
void * dst )

packs the data from the source buffer into destination buffer, based on the data layout described by MPI datatype

Parameters
[in]mpi_ddtMPI datatype
[in]srcsource buffer
[out]dstdestination buffer

Definition at line 368 of file xt_ddt.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xt_ddt_unpack()

PPM_DSO_INTERNAL void xt_ddt_unpack ( MPI_Datatype mpi_ddt,
void const * src,
void * dst )

unpacks the data from the source buffer into destination buffer, based on the data layout described by MPI datatype

Parameters
[in]mpi_ddtMPI datatype
[in]srcsource buffer
[out]dstdestination buffer

Definition at line 580 of file xt_ddt.c.

Here is the call graph for this function:
Here is the caller graph for this function: