Yet Another eXchange Tool
0.9.0
|
redistribution of data More...
Go to the source code of this file.
Classes | |
struct | Xt_redist_msg |
Functions | |
Xt_redist | xt_redist_copy (Xt_redist redist) |
void | xt_redist_delete (Xt_redist redist) |
void | xt_redist_s_exchange (Xt_redist redist, int num_arrays, const void **src_data, void **dst_data) |
void | xt_redist_a_exchange (Xt_redist redist, int num_arrays, const void **src_data, void **dst_data, Xt_request *request) |
void | xt_redist_s_exchange1 (Xt_redist redist, const void *src_data, void *dst_data) |
void | xt_redist_a_exchange1 (Xt_redist redist, const void *src_data, void *dst_data, Xt_request *request) |
int | xt_redist_get_num_send_msg (Xt_redist redist) |
int | xt_redist_get_num_recv_msg (Xt_redist redist) |
MPI_Datatype | xt_redist_get_send_MPI_Datatype (Xt_redist redist, int rank) |
MPI_Datatype | xt_redist_get_recv_MPI_Datatype (Xt_redist redist, int rank) |
MPI_Comm | xt_redist_get_MPI_Comm (Xt_redist redist) |
redistribution of data
contains declaration the redistribution data structure, which is derived from one or more xt_xmaps
Definition in file xt_redist.h.
void xt_redist_a_exchange | ( | Xt_redist | redist, |
int | num_arrays, | ||
const void ** | src_data, | ||
void ** | dst_data, | ||
Xt_request * | request | ||
) |
asynchronous redistribution of data
[in] | redist | redistribution structure |
[in] | num_arrays | number of base addresses in src_data and dst_data |
[in] | src_data | array containing the addresses of the first elements of the input data |
[in,out] | dst_data | array containing the addresses of the first elements of the output data |
[out] | request | pointer to a request object that can be used to complete an asynchronous exchange |
Definition at line 79 of file xt_redist.c.
void xt_redist_a_exchange1 | ( | Xt_redist | redist, |
const void * | src_data, | ||
void * | dst_data, | ||
Xt_request * | request | ||
) |
asynchronous redistribution of data - single array case
[in] | redist | redistribution structure |
[in] | src_data | address of the first element of the input data |
[in,out] | dst_data | address of the first element of the output data |
[out] | request | pointer to a request object that can be used to complete an asynchronous exchange |
Definition at line 91 of file xt_redist.c.
redist copy constructor
[in,out] | redist | redistribution structure |
Definition at line 63 of file xt_redist.c.
void xt_redist_delete | ( | Xt_redist | redist | ) |
destructor
[in,out] | redist | redistribution structure |
Definition at line 68 of file xt_redist.c.
returns a MPI communicator, which the redistribution is based on
[in] | redist | redistribution structure |
Definition at line 123 of file xt_redist.c.
int xt_redist_get_num_recv_msg | ( | Xt_redist | redist | ) |
gets the number of messages received by the local process in an exchange operation
[in] | redist | redistribution structure |
Definition at line 102 of file xt_redist.c.
int xt_redist_get_num_send_msg | ( | Xt_redist | redist | ) |
gets the number of messages send from the local process in an exchange operation
[in] | redist | redistribution structure |
Definition at line 97 of file xt_redist.c.
MPI_Datatype xt_redist_get_recv_MPI_Datatype | ( | Xt_redist | redist, |
int | rank | ||
) |
gets a copy of the MPI_Datatype used for the data of the recv operation with the given rank
[in] | redist | redistribution structure |
[in] | rank | MPI rank |
Definition at line 112 of file xt_redist.c.
MPI_Datatype xt_redist_get_send_MPI_Datatype | ( | Xt_redist | redist, |
int | rank | ||
) |
gets a copy of the MPI_Datatype used for the data of the send operation with the given rank
[in] | redist | redistribution structure |
[in] | rank | MPI rank |
Definition at line 107 of file xt_redist.c.
void xt_redist_s_exchange | ( | Xt_redist | redist, |
int | num_arrays, | ||
const void ** | src_data, | ||
void ** | dst_data | ||
) |
synchronous redistribution of data
[in] | redist | redistribution structure |
[in] | num_arrays | number of base addresses in src_data and dst_data |
[in] | src_data | array containing the addresses of the first elements of the input data |
[in,out] | dst_data | array containing the addresses of the first elements of the output data |
Definition at line 73 of file xt_redist.c.
void xt_redist_s_exchange1 | ( | Xt_redist | redist, |
const void * | src_data, | ||
void * | dst_data | ||
) |
synchronous redistribution of data - single array case
[in] | redist | redistribution structure |
[in] | src_data | address of the first element of the input data |
[in,out] | dst_data | address of the first element of the output data |
Definition at line 86 of file xt_redist.c.