1515#include < utility>
1616#include < vector>
1717
18- #include < rapidsmpf/allgather /allgather.hpp>
18+ #include < rapidsmpf/coll /allgather.hpp>
1919#include < rapidsmpf/communicator/communicator.hpp>
2020#include < rapidsmpf/error.hpp>
2121#include < rapidsmpf/memory/buffer.hpp>
2424#include < rapidsmpf/progress_thread.hpp>
2525#include < rapidsmpf/statistics.hpp>
2626
27- namespace rapidsmpf ::allreduce {
27+ namespace rapidsmpf ::coll {
2828
2929/* *
3030 * @brief Reduction operators supported by `AllReduce`.
@@ -57,7 +57,7 @@ using ReduceKernel = std::function<void(PackedData& accum, PackedData&& incoming
5757/* *
5858 * @brief AllReduce collective.
5959 *
60- * The current implementation is built using `allgather ::AllGather` and performs
60+ * The current implementation is built using `coll ::AllGather` and performs
6161 * the reduction locally after allgather completes. Considering `R` is the number of
6262 * ranks, and `N` is the number of bytes of data, per rank this incurs `O(R * N)` bytes of
6363 * memory consumption and `O(R)` communication operations.
@@ -89,7 +89,7 @@ class AllReduce {
8989 * @param finished_callback Optional callback run once locally when the allreduce
9090 * is finished and results are ready for extraction.
9191 *
92- * @note This constructor internally creates an `allgather:: AllGather` instance
92+ * @note This constructor internally creates an `AllGather` instance
9393 * that uses the same communicator, progress thread, and buffer resource.
9494 */
9595 AllReduce (
@@ -183,7 +183,7 @@ class AllReduce {
183183 ReduceKernel reduce_kernel_; // /< Type-erased reduction kernel
184184 std::function<void (void )> finished_callback_; // /< Optional finished callback
185185
186- allgather:: AllGather gatherer_; // /< Underlying allgather primitive
186+ AllGather gatherer_; // /< Underlying allgather primitive
187187
188188 std::atomic<std::uint32_t > nlocal_insertions_{0 }; // /< Number of local inserts
189189 std::atomic<bool > reduced_computed_{
@@ -204,4 +204,4 @@ template <typename T, ReduceOp Op>
204204ReduceKernel make_reduce_kernel ();
205205} // namespace detail
206206
207- } // namespace rapidsmpf::allreduce
207+ } // namespace rapidsmpf::coll
0 commit comments