34#ifndef NEKTAR_LIB_UTILITIES_COMMSERIAL_H
35#define NEKTAR_LIB_UTILITIES_COMMSERIAL_H
82 void *recvbuf,
int recvcount,
96 int recvcounts[],
int rdispls[],
105 int recvcounts[],
int rdispls[],
123 int indegree, const
int sources[], const
int sourceweights[],
126 void *sendbuf,
int sendcounts[],
int sdispls[],
CommDataType sendtype,
127 void *recvbuf,
int recvcounts[],
int rdispls[],
#define LIB_UTILITIES_EXPORT
Base communications class.
std::tuple< int, int, int > v_GetVersion() final
void v_Gather(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcount, CommDataType recvtype, int root) final
CommSharedPtr v_CommCreateIf(int flag) final
void v_SendRecv(void *sendbuf, int sendcount, CommDataType sendtype, int dest, void *recvbuf, int recvcount, CommDataType recvtype, int source) final
void v_Bcast(void *buffer, int count, CommDataType dt, int root) final
CommRequestSharedPtr v_CreateRequest(int num) final
void v_Irecv(void *buf, int count, CommDataType dt, int source, CommRequestSharedPtr request, int loc) final
void v_AllReduce(void *buf, int count, CommDataType dt, enum ReduceOperator pOp) final
static CommSharedPtr create(int narg, char *arg[])
Creates an instance of this class.
void v_SplitComm(int pRows, int pColumns, int pTime) override
void v_RecvInit(void *buf, int count, CommDataType dt, int source, CommRequestSharedPtr request, int loc) final
void v_Isend(void *buf, int count, CommDataType dt, int dest, CommRequestSharedPtr request, int loc) final
void v_AlltoAllv(void *sendbuf, int sendcounts[], int sensdispls[], CommDataType sendtype, void *recvbuf, int recvcounts[], int rdispls[], CommDataType recvtype) final
void v_StartAll(CommRequestSharedPtr request) final
bool v_TreatAsRankZero() override
CommSerial(int argc, char *argv[])
NekDouble v_Wtime() final
static std::string className
Name of class.
void v_NeighborAlltoAllv(void *sendbuf, int sendcounts[], int sdispls[], CommDataType sendtype, void *recvbuf, int recvcounts[], int rdispls[], CommDataType recvtype) final
void v_Irsend(void *buf, int count, CommDataType dt, int dest, CommRequestSharedPtr request, int loc) final
void v_Send(void *buf, int count, CommDataType dt, int dest) final
bool v_IsSerial() override
void v_WaitAll(CommRequestSharedPtr request) final
void v_AllGatherv(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcounts[], int rdispls[], CommDataType recvtype) final
void v_AlltoAll(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcount, CommDataType recvtype) final
void v_Scatter(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcount, CommDataType recvtype, int root) final
void v_AllGather(void *sendbuf, int sendcount, CommDataType sendtype, void *recvbuf, int recvcount, CommDataType recvtype) final
void v_DistGraphCreateAdjacent(int indegree, const int sources[], const int sourceweights[], int reorder) final
void v_Recv(void *buf, int count, CommDataType dt, int source) final
void v_SendInit(void *buf, int count, CommDataType dt, int dest, CommRequestSharedPtr request, int loc) final
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
unsigned int CommDataType
std::shared_ptr< CommRequest > CommRequestSharedPtr
ReduceOperator
Type of operation to perform in AllReduce.
std::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
std::shared_ptr< CommSerial > CommSerialSharedPtr
Pointer to a Communicator object.