the base of keli mpi More...
#include <gsmpibase.hpp>
Public Member Functions | |
GSMPI () | |
Construct a new KLMPI object. More... | |
void | Init () |
Initialize keli mpi. More... | |
int | GetRank () |
Get the Rank. More... | |
int | GetRank () const |
int | GetNumofProc () |
Get the Number of Procs. More... | |
int | GetNumofProc () const |
int | GetNumofNbrs () |
Get the Number of Neigbhors. More... | |
int | GetNumofNbrs () const |
const int * | PtrNbrsList () |
const int * | PtrNbrsList () const |
int | GetNumofNbrsExcludeNullAndSelfProc () |
Get the Number of Neigbhors Without Nullproc And Self. More... | |
int | GetNumofNbrsExcludeNullAndSelfProc () const |
MPI_Comm | GetComm () const |
Get the Communicator. More... | |
MPI_Comm | GetComm () |
void | SendRecv (auto &send, auto &recv, MPI_Datatype datatype) |
Send and Receive data by a graph communication. More... | |
void | AllGather (auto &send, auto &recv, MPI_Datatype datatype) |
void | SendRecv_v1 (SerializedBuffer &send, SerializedBuffer &recv, MPI_Datatype datatype) |
void | Barrier () |
MPI_Barrier() More... | |
void | Bcast (auto &in, MPI_Datatype datatype) |
void | Bcast (auto &in, int count, MPI_Datatype datatype) |
void | Bcast (auto *in, int count, MPI_Datatype datatype) |
void | Reduce (auto &send, auto &recv, MPI_Datatype datatype, MPI_Op op) |
void | Reduce (auto &send, auto &recv, int count, MPI_Datatype datatype, MPI_Op op) |
void | Reduce (auto *send, auto *recv, int count, MPI_Datatype datatype, MPI_Op op) |
void | AllReduce (auto &send, auto &recv, MPI_Datatype datatype, MPI_Op op) |
void | AllReduce (auto &send, auto &recv, int count, MPI_Datatype datatype, MPI_Op op) |
void | AllReduce (auto *send, auto *recv, int count, MPI_Datatype datatype, MPI_Op op) |
Protected Attributes | |
MPI_Comm | _comm |
int | _nprocall |
int | _rank |
int * | _nbrs = nullptr |
int | _num_nbrs |
int | _num_nbrs_exclude_null_selfproc |
int * | _graph_index = nullptr |
int * | _graph_edge = nullptr |
std::vector< int > | _valid_nbrs_order |
the base of keli mpi
|
inline |
Construct a new KLMPI object.
|
inline |
References _comm, gsmpi::SerializedBuffer::AllocateBuffer(), gsmpi::SerializedBuffer::buffer, gsmpi::SerializedBuffer::counts, and gsmpi::SerializedBuffer::disps.
|
inline |
References _comm.
|
inline |
References _comm.
|
inline |
References _comm.
|
inline |
MPI_Barrier()
References _comm.
|
inline |
References _comm, and gsmpi::root.
|
inline |
References _comm, and gsmpi::root.
|
inline |
References _comm, and gsmpi::root.
|
inline |
References _comm.
|
inline |
|
inline |
Get the Number of Neigbhors.
References _num_nbrs.
|
inline |
References _num_nbrs.
|
inline |
Get the Number of Neigbhors Without Nullproc And Self.
References _num_nbrs_exclude_null_selfproc.
|
inline |
References _num_nbrs_exclude_null_selfproc.
|
inline |
|
inline |
References _nprocall.
|
inline |
|
inline |
References _rank.
|
inline |
|
inline |
References _nbrs.
|
inline |
References _comm, and gsmpi::root.
|
inline |
References _comm, and gsmpi::root.
|
inline |
References _comm, and gsmpi::root.
|
inline |
Send and Receive data by a graph communication.
send | sender |
recv | receiver |
datatype | MPI_Datatype |
References _comm.
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |