Communicator
ACCL::rank_t
ACCL::Communicator
-
class Communicator
Communicators store configurations on the CCLO necessary for communicating with other ranks.
Public Functions
-
Communicator(CCLO *cclo, const std::vector<rank_t> &ranks, unsigned int rank, addr_t *addr)
Construct a new communicator object and store configuration on the CCLO.
-
inline addr_t communicators_addr() const
Retrieve the communicators address on the FPGA from this communicator.
- Returns
addr_t communicators address on the FPGA.
-
inline unsigned int local_rank() const
Retrieve the local rank stored in the communicator.
- Returns
unsigned int The local rank stored in the communicator.
-
Communicator(CCLO *cclo, const std::vector<rank_t> &ranks, unsigned int rank, addr_t *addr)