LAMA
|
#include <PGASAllocator.hpp>
Public Member Functions | |
PGASAllocator () | |
virtual | ~PGASAllocator () |
virtual void * | allocate (size_t size)=0 |
virtual void | free (void *ptr, size_t size)=0 |
virtual bool | isAllocated (const void *ptr)=0 |
virtual size_t | getOffset (const void *ptr)=0 |
lama::PGASAllocator::~PGASAllocator | ( | ) | [virtual] |
virtual void* lama::PGASAllocator::allocate | ( | size_t | size | ) | [pure virtual] |
Implemented in lama::PGASSimpleAllocator.
Referenced by lama::GPIInterface::allocate().
virtual void lama::PGASAllocator::free | ( | void * | ptr, |
size_t | size | ||
) | [pure virtual] |
Implemented in lama::PGASSimpleAllocator.
Referenced by lama::GPIInterface::free().
virtual size_t lama::PGASAllocator::getOffset | ( | const void * | ptr | ) | [pure virtual] |
Implemented in lama::PGASSimpleAllocator.
Referenced by lama::GPIInterface::allocate(), lama::GPIInterface::free(), lama::GPIInterface::get(), and lama::GPIInterface::put().
virtual bool lama::PGASAllocator::isAllocated | ( | const void * | ptr | ) | [pure virtual] |
Implemented in lama::PGASSimpleAllocator.
Referenced by lama::GPIInterface::isPinned().