|
vecmem 1.30.0
|
Container for superpages in our buddy allocator. More...
#include </home/runner/work/vecmem/vecmem/core/src/memory/details/binary_page_memory_resource_impl.hpp>
Public Attributes | |
| std::size_t | m_size |
| Size (log_2) of the entire allocation represented by this superpage. | |
| std::size_t | m_min_page_size |
| The size of the smallest page in this superpage. | |
| std::size_t | m_num_pages |
| Total number of pages in this superpage. | |
| std::unique_ptr< page_state[]> | m_pages |
| Array of pages, remembering that this always resides in host-accessible memory. | |
| unique_alloc_ptr< std::byte[]> | m_memory |
| The actual allocation, which is just a byte pointer. | |
Container for superpages in our buddy allocator.
Super pages are large, contigous allocations, which are split into smaller pieces.
| unique_alloc_ptr<std::byte[]> vecmem::details::binary_page_memory_resource_impl::superpage::m_memory |
The actual allocation, which is just a byte pointer.
This is potentially host-inaccessible.