vecmem 1.14.0
|
Implementation for vecmem::details::conditional_memory_resource
.
More...
#include </home/runner/work/vecmem/vecmem/core/src/memory/details/conditional_memory_resource_impl.hpp>
Public Member Functions | |
conditional_memory_resource_impl (memory_resource &upstream, std::function< bool(std::size_t, std::size_t)> pred) | |
Constructor. | |
void * | allocate (std::size_t, std::size_t) |
(Conditionally) Allocate memory with a chosen memory resource | |
void | deallocate (void *p, std::size_t, std::size_t) |
Deallocate previously allocated memory. | |
Implementation for vecmem::details::conditional_memory_resource
.