vecmem 1.14.0
|
Implementation of vecmem::contiguous_memory_resource
.
More...
#include </home/runner/work/vecmem/vecmem/core/src/memory/details/contiguous_memory_resource_impl.hpp>
Public Member Functions | |
contiguous_memory_resource_impl (memory_resource &upstream, std::size_t size) | |
Constructor. | |
~contiguous_memory_resource_impl () | |
Destructor. | |
void * | allocate (std::size_t size, std::size_t alignment) |
Allocate memory from the resource's contiguous memory block. | |
void | deallocate (void *ptr, std::size_t size, std::size_t alignment) |
De-allocate a previously allocated memory block. | |
Implementation of vecmem::contiguous_memory_resource
.