Mneme
Mneme a tool allowing recording the execution of a GPU (CUDA/HIP) kernel and replaying that kernel as an independent executable.
Loading...
Searching...
No Matches
ChunkAllocator Class Reference

#include <MnemePageManager.hpp>

Public Member Functions

 ChunkAllocator (ChunkSource &Source, uint64_t ChunkSize)
uint64_t actualSize (uint64_t Size) const
bool packs (uint64_t Size) const
void * allocate (uint64_t Size)
void release (void *Addr, uint64_t Size)
 ~ChunkAllocator ()
 ChunkAllocator (const ChunkAllocator &)=delete
ChunkAllocator & operator= (const ChunkAllocator &)=delete

Constructor & Destructor Documentation

◆ ChunkAllocator() [1/2]

ChunkAllocator::ChunkAllocator ( ChunkSource & Source,
uint64_t ChunkSize )
inline

◆ ~ChunkAllocator()

ChunkAllocator::~ChunkAllocator ( )
inline

◆ ChunkAllocator() [2/2]

ChunkAllocator::ChunkAllocator ( const ChunkAllocator & )
delete

Member Function Documentation

◆ actualSize()

uint64_t ChunkAllocator::actualSize ( uint64_t Size) const
inline

◆ allocate()

void * ChunkAllocator::allocate ( uint64_t Size)
inline

◆ operator=()

ChunkAllocator & ChunkAllocator::operator= ( const ChunkAllocator & )
delete

◆ packs()

bool ChunkAllocator::packs ( uint64_t Size) const
inline

◆ release()

void ChunkAllocator::release ( void * Addr,
uint64_t Size )
inline

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