This project is developed using C++20 and utilizes features specific to this version. To ensure successful compilation, please use a compiler that supports C++20 and set the appropriate version flags accordingly.
g++ std=c++2a *.cpp -o exe
./exe
- Vary the
const int TREE_NUMvariable inmain.cpp - The different network topologies are detailed in the
select_tree_configurationsmethod also inmain.cpp
- The main branch focuses on the reduce phase - the analysis and experimentation conducted with regards to this project apply (without loss of generality) to the broadcast phase.
- The implementation of the broadcast phase can be found in the broadcast branch and includes approaches to simulate packet loss and the root switch waiting for retransmission signals from allreduce hosts.