8 #include <rapidsmpf/buffer/content_description.hpp>
9 #include <rapidsmpf/buffer/packed_data.hpp>
10 #include <rapidsmpf/streaming/core/message.hpp>
33 ContentDescription::Spillable::YES
45 std::uint64_t sequence_number, std::unique_ptr<PackedDataChunk> chunk
54 auto chunk = std::make_unique<PackedDataChunk>(
self.data.copy(reservation));
Description of an object's content.
Represents a reservation for future memory allocation.
Type-erased message wrapper around a payload.
T const & get() const
Reference to the payload.
constexpr std::uint64_t sequence_number() const noexcept
Returns the sequence number of this message.
Message to_message(std::uint64_t sequence_number, std::unique_ptr< PackedDataChunk > chunk)
Wrap a PackedDataChunk into a Message.
ContentDescription get_content_description(PackedDataChunk const &obj)
Generate a content description for a PackedDataChunk.
Bag of bytes with metadata suitable for sending over the wire.
std::unique_ptr< Buffer > data
The GPU data.
PackedData data
Packed data payload.