vecmem 1.14.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
vecmem::details::choice_memory_resource_impl Class Reference

Implementation for vecmem::details::choice_memory_resource. More...

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

Public Member Functions

 choice_memory_resource_impl (std::function< memory_resource &(std::size_t, std::size_t)> decision)
 Constructor.
 
voidallocate (std::size_t size, std::size_t align)
 Allocate memory with a chosen memory resource.
 
void deallocate (void *p, std::size_t size, std::size_t align)
 Deallocate previously allocated memory.
 

Detailed Description

Implementation for vecmem::details::choice_memory_resource.


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