vecmem 1.14.0
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Attributes | List of all members
vecmem::details::arena_memory_resource_impl Class Reference

Implementation backend for vecmem::details::arena_page_memory_resource. More...

#include </home/runner/work/vecmem/vecmem/core/src/memory/details/arena_memory_resource_impl.hpp>

Public Member Functions

 arena_memory_resource_impl (std::size_t initial_size, std::size_t maximum_size, memory_resource &mm)
 
voidallocate (std::size_t bytes, std::size_t alignment=0)
 
bool deallocate (void *p, std::size_t bytes, std::size_t alignment=0)
 

Static Public Attributes

static constexpr std::size_t default_initial_size
 
static constexpr std::size_t default_maximum_size
 
static constexpr std::size_t reserverd_size = 1u << 26u
 

Detailed Description

Implementation backend for vecmem::details::arena_page_memory_resource.

Member Data Documentation

◆ default_initial_size

constexpr std::size_t vecmem::details::arena_memory_resource_impl::default_initial_size
staticconstexpr
Initial value:
=
std::numeric_limits<std::size_t>::max()

◆ default_maximum_size

constexpr std::size_t vecmem::details::arena_memory_resource_impl::default_maximum_size
staticconstexpr
Initial value:
=
std::numeric_limits<std::size_t>::max()

The documentation for this class was generated from the following files: