Yet Another eXchange Tool
0.9.0
|
Go to the source code of this file.
Typedefs | |
typedef void(* | xt_simple_s_exchange_func) (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) |
typedef void(* | xt_simple_a_exchange_func) (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) |
Functions | |
Xt_exchanger | xt_exchanger_simple_base_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, xt_simple_s_exchange_func s_func, xt_simple_a_exchange_func a_func) |
Definition in file xt_exchanger_simple_base.h.
typedef void(* xt_simple_a_exchange_func) (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) |
Definition at line 62 of file xt_exchanger_simple_base.h.
typedef void(* xt_simple_s_exchange_func) (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) |
Definition at line 57 of file xt_exchanger_simple_base.h.
Xt_exchanger xt_exchanger_simple_base_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, | ||
xt_simple_s_exchange_func | s_func, | ||
xt_simple_a_exchange_func | a_func | ||
) |
constructor for an exchanger using asynchronous send and recv
[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 |
[in] | s_func | function pointer used for synchronous exchanges |
[in] | a_func | function pointer used for asynchronous exchanges |
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 118 of file xt_exchanger_simple_base.c.