Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::runtime::ThreadPrivateHeap< SourceHeap > Class Template Reference

[Example Third Party Allocator] More...

#include <Mem.h>

Public Types

enum  { AllocSize = SourceHeap::AllocSize }
 

Public Member Functions

 ThreadPrivateHeap ()
 
 ~ThreadPrivateHeap ()
 
template<typename... Args>
void * allocate (size_t size, Args &&...args)
 
void deallocate (void *ptr)
 
void clear ()
 

Detailed Description

template<class SourceHeap>
class galois::runtime::ThreadPrivateHeap< SourceHeap >

[Example Third Party Allocator]

Per-thread heaps using Galois thread aware construct

Member Enumeration Documentation

template<class SourceHeap>
anonymous enum
Enumerator
AllocSize 

Constructor & Destructor Documentation

template<class SourceHeap>
galois::runtime::ThreadPrivateHeap< SourceHeap >::ThreadPrivateHeap ( )
inline
template<class SourceHeap>
galois::runtime::ThreadPrivateHeap< SourceHeap >::~ThreadPrivateHeap ( )
inline

Member Function Documentation

template<class SourceHeap>
template<typename... Args>
void* galois::runtime::ThreadPrivateHeap< SourceHeap >::allocate ( size_t  size,
Args &&...  args 
)
inline
template<class SourceHeap>
void galois::runtime::ThreadPrivateHeap< SourceHeap >::clear ( void  )
inline
template<class SourceHeap>
void galois::runtime::ThreadPrivateHeap< SourceHeap >::deallocate ( void *  ptr)
inline

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