Yet Another eXchange Tool
0.9.0
|
#include "core/ppm_xfuncs.h"
#include "xt/xt_mpi.h"
#include "xt/xt_request_msgs_packed.h"
#include "xt_mpi_internal.h"
#include "xt_redist_internal.h"
#include "xt_exchanger_irecv_isend_packed.h"
#include "xt_exchanger_simple_base.h"
Go to the source code of this file.
Functions | |
static void | xt_exchanger_irecv_isend_packed_s_exchange (const void *src_data, void *dst_data, int nsend, int nrecv, const struct Xt_redist_msg *send_msgs, const struct Xt_redist_msg *recv_msgs, int tag_offset, MPI_Comm comm) |
static void | xt_exchanger_irecv_isend_packed_a_exchange (const void *src_data, void *dst_data, int nsend, int nrecv, const struct Xt_redist_msg *send_msgs, const struct Xt_redist_msg *recv_msgs, int tag_offset, MPI_Comm comm, Xt_request *request) |
Xt_exchanger | xt_exchanger_irecv_isend_packed_new (int nsend, int nrecv, const struct Xt_redist_msg *send_msgs, const struct Xt_redist_msg *recv_msgs, MPI_Comm comm, int tag_offset) |
Definition in file xt_exchanger_irecv_isend_packed.c.
|
static |
Definition at line 130 of file xt_exchanger_irecv_isend_packed.c.
Xt_exchanger xt_exchanger_irecv_isend_packed_new | ( | int | nsend, |
int | nrecv, | ||
const struct Xt_redist_msg * | send_msgs, | ||
const struct Xt_redist_msg * | recv_msgs, | ||
MPI_Comm | comm, | ||
int | tag_offset | ||
) |
Constructor for an exchanger using asynchronous send and recv, the data is is packed before/unpacked after the exchange. This ensures that the data being handled by MPI is in one contiguous buffer.
[in] | nsend | number of send messages |
[in] | nrecv | number of receive messages |
[in] | send_msgs | array with send messages |
[in] | recv_msgs | array with receive messages |
[in] | comm | MPI communicator that is to be used for the communication |
[in] | tag_offset | tag |
note: tag_offset + xt_mpi_tag_exchange_msg must not be used on comm by any other part of the program during the lifetime of the created exchanger object
Definition at line 182 of file xt_exchanger_irecv_isend_packed.c.
|
static |
Definition at line 59 of file xt_exchanger_irecv_isend_packed.c.