Galois
|
Scalable variable-size allocations. More...
#include <Mem.h>
Public Types | |
enum | { AllocSize = 0 } |
Public Types inherited from galois::runtime::ThreadPrivateHeap< BumpHeap< SystemHeap > > | |
enum | |
Additional Inherited Members | |
Public Member Functions inherited from galois::runtime::ThreadPrivateHeap< BumpHeap< SystemHeap > > | |
ThreadPrivateHeap () | |
~ThreadPrivateHeap () | |
void * | allocate (size_t size, Args &&...args) |
void | deallocate (void *ptr) |
void | clear () |
Scalable variable-size allocations.
Slight misnomer as this doesn't support allocations greater than a page. Users should call allocate multiple times to split large allocations over multiple pages.