Implementation of vecmem::contiguous_memory_resource.
More...
#include </home/runner/work/vecmem/vecmem/core/src/memory/details/contiguous_memory_resource_impl.hpp>
|
|
| 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.
|
The documentation for this class was generated from the following files: