![]() |
Project
|
Inherits OrtAllocator.
Public Member Functions | |
MockedOrtAllocator (GPUReconstruction *=nullptr, OrtMemoryInfo *=nullptr) | |
~MockedOrtAllocator () | |
void * | Alloc (size_t size) |
void | Free (void *p) |
const OrtMemoryInfo * | Info () const |
void * | Reserve (size_t size) |
size_t | NumAllocations () const |
size_t | NumReserveAllocations () const |
void | LeakCheck () |
Definition at line 119 of file GPUTPCNNClusterizerHost.cxx.
MockedOrtAllocator::MockedOrtAllocator | ( | GPUReconstruction * | r = nullptr , |
OrtMemoryInfo * | info = nullptr |
||
) |
Definition at line 143 of file GPUTPCNNClusterizerHost.cxx.
MockedOrtAllocator::~MockedOrtAllocator | ( | ) |
Definition at line 154 of file GPUTPCNNClusterizerHost.cxx.
void * MockedOrtAllocator::Alloc | ( | size_t | size | ) |
Definition at line 160 of file GPUTPCNNClusterizerHost.cxx.
Definition at line 172 of file GPUTPCNNClusterizerHost.cxx.
const OrtMemoryInfo * MockedOrtAllocator::Info | ( | ) | const |
Definition at line 178 of file GPUTPCNNClusterizerHost.cxx.
void MockedOrtAllocator::LeakCheck | ( | ) |
Definition at line 193 of file GPUTPCNNClusterizerHost.cxx.
size_t MockedOrtAllocator::NumAllocations | ( | ) | const |
Definition at line 183 of file GPUTPCNNClusterizerHost.cxx.
size_t MockedOrtAllocator::NumReserveAllocations | ( | ) | const |
Definition at line 188 of file GPUTPCNNClusterizerHost.cxx.
void * MockedOrtAllocator::Reserve | ( | size_t | size | ) |
Definition at line 166 of file GPUTPCNNClusterizerHost.cxx.