Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
p2p::P2PComm Class Reference

#include <p2p_comm.h>

Public Member Functions

 P2PComm (const std::string &self, const std::vector< std::string > &peers, const std::string &log_file=mesh::DEF_LOG)
 
int get_rank ()
 
int get_world_size ()
 
bool Init ()
 
int Allgather (void *sbuf, int sendcount, uint8_t sendtype, void *rbuf, int recvcount, uint8_t recvtype)
 
int Shutdown ()
 

Constructor & Destructor Documentation

◆ P2PComm()

p2p::P2PComm::P2PComm ( const std::string &  self,
const std::vector< std::string > &  peers,
const std::string &  log_file = mesh::DEF_LOG 
)

Member Function Documentation

◆ Allgather()

int p2p::P2PComm::Allgather ( void *  sbuf,
int  sendcount,
uint8_t  sendtype,
void *  rbuf,
int  recvcount,
uint8_t  recvtype 
)

◆ get_rank()

int p2p::P2PComm::get_rank ( )
inline

◆ get_world_size()

int p2p::P2PComm::get_world_size ( )
inline

◆ Init()

bool p2p::P2PComm::Init ( )

◆ Shutdown()

int p2p::P2PComm::Shutdown ( )

The documentation for this class was generated from the following file: