COMBINATORIAL_BLAS  1.6
combblas::Memory Class Reference

#include <MemoryPool.h>

Public Member Functions

 Memory (char *m_beg, size_t m_size)
 
char * begaddr ()
 
char * endaddr ()
 
bool operator< (const Memory &rhs) const
 
bool operator== (const Memory &rhs) const
 

Public Attributes

char * begin
 
size_t size
 

Detailed Description

EqualityComparable memory chunk object Two memory chunks are considered equal if either their beginaddr or the endaddr are the same (just to facilitate deallocation)

Definition at line 42 of file MemoryPool.h.

Constructor & Destructor Documentation

◆ Memory()

combblas::Memory::Memory ( char *  m_beg,
size_t  m_size 
)
inline

Definition at line 45 of file MemoryPool.h.

Member Function Documentation

◆ begaddr()

char* combblas::Memory::begaddr ( )
inline

Definition at line 48 of file MemoryPool.h.

◆ endaddr()

char* combblas::Memory::endaddr ( )
inline

Definition at line 49 of file MemoryPool.h.

◆ operator<()

bool combblas::Memory::operator< ( const Memory rhs) const
inline

Definition at line 51 of file MemoryPool.h.

◆ operator==()

bool combblas::Memory::operator== ( const Memory rhs) const
inline

Definition at line 53 of file MemoryPool.h.

Member Data Documentation

◆ begin

char* combblas::Memory::begin

Definition at line 56 of file MemoryPool.h.

◆ size

size_t combblas::Memory::size

Definition at line 57 of file MemoryPool.h.


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