#include <stdint.h>
#include <mpi.h>
#include "yac_types.h"
Go to the source code of this file.
|
MPI_Datatype | yac_get_remote_point_info_mpi_datatype (MPI_Comm comm) |
|
int | yac_remote_point_infos_get_pack_size (struct remote_point_infos const *infos, MPI_Datatype point_info_dt, MPI_Comm comm) |
|
void | yac_remote_point_infos_pack (struct remote_point_infos const *infos, void *buffer, int buffer_size, int *position, MPI_Datatype point_info_dt, MPI_Comm comm) |
|
void | yac_remote_point_infos_unpack (void *buffer, int buffer_size, int *position, struct remote_point_infos *infos, MPI_Datatype point_info_dt, MPI_Comm comm) |
|
int | yac_remote_point_get_pack_size (struct remote_point *point, MPI_Datatype point_info_dt, MPI_Comm comm) |
|
void | yac_remote_point_pack (struct remote_point *point, void *buffer, int buffer_size, int *position, MPI_Datatype point_info_dt, MPI_Comm comm) |
|
void | yac_remote_point_unpack (void *buffer, int buffer_size, int *position, struct remote_point *point, MPI_Datatype point_info_dt, MPI_Comm comm) |
|
int | yac_remote_points_get_pack_size (struct remote_points *points, MPI_Datatype point_info_dt, MPI_Comm comm) |
|
void | yac_remote_points_pack (struct remote_points *points, void *buffer, int buffer_size, int *position, MPI_Datatype point_info_dt, MPI_Comm comm) |
|
void | yac_remote_points_unpack (void *buffer, int buffer_size, int *position, struct remote_points **points, MPI_Datatype point_info_dt, MPI_Comm comm) |
|
◆ yac_get_remote_point_info_mpi_datatype()
MPI_Datatype yac_get_remote_point_info_mpi_datatype |
( |
MPI_Comm | comm | ) |
|
◆ yac_remote_point_get_pack_size()
int yac_remote_point_get_pack_size |
( |
struct remote_point * | point, |
|
|
MPI_Datatype | point_info_dt, |
|
|
MPI_Comm | comm ) |
computes the maximum size required by MPI to pack the provided point of type struct remote_point
- Parameters
-
[in] | point | point for which the pack size is to be determined |
[in] | point_info_dt | MPI Datatype for packing struct point_info |
[in] | comm | communicator |
- Returns
- maximum packing size
Definition at line 46 of file remote_point.c.
◆ yac_remote_point_infos_get_pack_size()
int yac_remote_point_infos_get_pack_size |
( |
struct remote_point_infos const * | infos, |
|
|
MPI_Datatype | point_info_dt, |
|
|
MPI_Comm | comm ) |
computes the maximum size required by MPI to pack the provided point information of type struct remote_point_infos
- Parameters
-
[in] | infos | point information for which the pack size is to be determined |
[in] | point_info_dt | MPI Datatype for packing struct point_info |
[in] | comm | communicator |
- Returns
- maximum packing size
Definition at line 32 of file remote_point.c.
◆ yac_remote_point_infos_pack()
void yac_remote_point_infos_pack |
( |
struct remote_point_infos const * | infos, |
|
|
void * | buffer, |
|
|
int | buffer_size, |
|
|
int * | position, |
|
|
MPI_Datatype | point_info_dt, |
|
|
MPI_Comm | comm ) |
packs a provided remote_point_infos; this is simlar to MPI_Pack
- Parameters
-
[in] | infos | remote_point to be packed |
[in,out] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | packing position |
[in] | point_info_dt | MPI Datatype for packing struct point_info |
[in] | comm | communicator |
Definition at line 59 of file remote_point.c.
◆ yac_remote_point_infos_unpack()
void yac_remote_point_infos_unpack |
( |
void * | buffer, |
|
|
int | buffer_size, |
|
|
int * | position, |
|
|
struct remote_point_infos * | infos, |
|
|
MPI_Datatype | point_info_dt, |
|
|
MPI_Comm | comm ) |
unpacks and allocates a remote_point_infos from a buffer; this is similar to MPI_Unpack
- Parameters
-
[in] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | unpacking position |
[out] | infos | unpacked point information |
[in] | point_info_dt | MPI Datatype for unpacking struct point_info |
[in] | comm | communicator |
Definition at line 87 of file remote_point.c.
◆ yac_remote_point_pack()
void yac_remote_point_pack |
( |
struct remote_point * | point, |
|
|
void * | buffer, |
|
|
int | buffer_size, |
|
|
int * | position, |
|
|
MPI_Datatype | point_info_dt, |
|
|
MPI_Comm | comm ) |
packs a provided remote_point; this is simlar to MPI_Pack
- Parameters
-
[in] | point | remote_point to be packed |
[in,out] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | packing position |
[in] | point_info_dt | MPI Datatype for packing struct point_info |
[in] | comm | communicator |
Definition at line 75 of file remote_point.c.
◆ yac_remote_point_unpack()
void yac_remote_point_unpack |
( |
void * | buffer, |
|
|
int | buffer_size, |
|
|
int * | position, |
|
|
struct remote_point * | point, |
|
|
MPI_Datatype | point_info_dt, |
|
|
MPI_Comm | comm ) |
unpacks and allocates a remote_point from a buffer; this is similar to MPI_Unpack
- Parameters
-
[in] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | unpacking position |
[out] | point | unpacked point |
[in] | point_info_dt | MPI Datatype for unpacking struct point_info |
[in] | comm | communicator |
Definition at line 112 of file remote_point.c.
◆ yac_remote_points_get_pack_size()
int yac_remote_points_get_pack_size |
( |
struct remote_points * | points, |
|
|
MPI_Datatype | point_info_dt, |
|
|
MPI_Comm | comm ) |
computes the maximum size required by MPI to pack the provided points of type struct remote_points
- Parameters
-
[in] | points | points for which the pack size is to be determined |
[in] | point_info_dt | MPI Datatype for unpacking struct point_info |
[in] | comm | communicator |
- Returns
- maximum packing size
Definition at line 124 of file remote_point.c.
◆ yac_remote_points_pack()
void yac_remote_points_pack |
( |
struct remote_points * | points, |
|
|
void * | buffer, |
|
|
int | buffer_size, |
|
|
int * | position, |
|
|
MPI_Datatype | point_info_dt, |
|
|
MPI_Comm | comm ) |
packs provided remote_points; this is simlar to MPI_Pack
- Parameters
-
[in] | points | remote_points to be packed |
[in,out] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | packing position |
[in] | point_info_dt | MPI Datatype for packing struct point_info |
[in] | comm | communicator |
Definition at line 142 of file remote_point.c.
◆ yac_remote_points_unpack()
void yac_remote_points_unpack |
( |
void * | buffer, |
|
|
int | buffer_size, |
|
|
int * | position, |
|
|
struct remote_points ** | points, |
|
|
MPI_Datatype | point_info_dt, |
|
|
MPI_Comm | comm ) |
unpacks and allocates remote_points from a buffer; this is similar to MPI_Unpack
- Parameters
-
[in] | buffer | packing buffer |
[in] | buffer_size | size of packing buffer |
[in,out] | position | unpacking position |
[out] | points | unpacked points |
[in] | point_info_dt | MPI Datatype for unpacking struct point_info |
[in] | comm | communicator |
Definition at line 200 of file remote_point.c.