20 #include <kvikio/defaults.hpp> 
   34   std::stack<void*> _free_allocs{};
 
   46     std::size_t 
const _size;
 
   56     void* get(std::ptrdiff_t offset) noexcept;
 
   57     std::size_t size() noexcept;
 
   83   void _ensure_alloc_size();
 
   86   [[nodiscard]] 
Alloc get();
 
   88   void put(
void* alloc, std::
size_t size);
 
An host memory allocation.
 
Singleton class to retain host memory allocations.
 
std::size_t clear()
Free all retained allocations.
 
static std::size_t bounce_buffer_size()
Get the size of the bounce buffer used to stage data in host memory.