11 #include <unordered_map>
14 #include <rapidsmpf/communicator/communicator.hpp>
15 #include <rapidsmpf/memory/buffer.hpp>
16 #include <rapidsmpf/memory/buffer_resource.hpp>
17 #include <rapidsmpf/statistics.hpp>
66 std::vector<std::uint8_t>&&
metadata,
67 std::unique_ptr<Buffer>
data =
nullptr
87 [[nodiscard]] constexpr std::vector<std::uint8_t>
const&
128 std::vector<std::uint8_t> metadata_;
129 std::unique_ptr<
Buffer> data_;
160 virtual
void send(std::vector<std::unique_ptr<
Message>>&& messages) = 0;
183 [[nodiscard]] virtual std::vector<std::unique_ptr<
Message>>
recv() = 0;
196 [[nodiscard]] virtual
bool is_idle() const = 0;
Buffer representing device or host memory.
std::int32_t Rank
The rank of a node (e.g. the rank of a MPI process), or world size (total number of ranks).