10 #include <rapidsmpf/memory/buffer.hpp>
11 #include <rapidsmpf/memory/memory_reservation.hpp>
63 [[nodiscard]] constexpr std::
size_t size() const noexcept {
72 [[nodiscard]] constexpr MemoryType
mem_type() const noexcept {
Class managing buffer resources.
Represents a reservation for future memory allocation.
constexpr BufferResource * br() const noexcept
Get the buffer resource associated with this reservation.
~MemoryReservation() noexcept
Destructor for the memory reservation.
constexpr std::size_t size() const noexcept
Get the remaining size of the reserved memory.
MemoryReservation(MemoryReservation &&o)
Move constructor for MemoryReservation.
void clear() noexcept
Clear the remaining size of the reservation.
constexpr MemoryType mem_type() const noexcept
Get the type of memory associated with this reservation.