|
NeoN
A framework for CFD software
|
#include <umpire.hpp>
Public Member Functions | |
| void * | alloc (size_t size) override |
| allocate a block of size bytes | |
| void * | realloc (void *ptr, size_t size) override |
| reallocate a block of size bytes | |
| void | free (void *ptr) override |
| free a block of size bytes | |
| ~UmpirePoolAllocator () override | |
Public Member Functions inherited from NeoN::AllocatorStrategy | |
| void | setMemSpace (MemorySpace memSpace) |
| set tag controlling where allocation happens | |
| virtual | ~AllocatorStrategy () |
Additional Inherited Members | |
Protected Attributes inherited from NeoN::AllocatorStrategy | |
| MemorySpace | memSpace_ = MemorySpace::CPU |
Definition at line 62 of file umpire.hpp.
|
inlineoverride |
Definition at line 73 of file umpire.hpp.
|
overridevirtual |
allocate a block of size bytes
Implements NeoN::AllocatorStrategy.
free a block of size bytes
Implements NeoN::AllocatorStrategy.
reallocate a block of size bytes
Implements NeoN::AllocatorStrategy.