Project
Loading...
Searching...
No Matches
MockedOrtAllocator Struct Reference

Inherits OrtAllocator.

Public Member Functions

 MockedOrtAllocator (GPUReconstruction *=nullptr, OrtMemoryInfo *=nullptr)
 
 ~MockedOrtAllocator ()
 
voidAlloc (size_t size)
 
void Free (void *p)
 
const OrtMemoryInfo * Info () const
 
voidReserve (size_t size)
 
size_t NumAllocations () const
 
size_t NumReserveAllocations () const
 
void LeakCheck ()
 

Detailed Description

Definition at line 119 of file GPUTPCNNClusterizerHost.cxx.

Constructor & Destructor Documentation

◆ MockedOrtAllocator()

MockedOrtAllocator::MockedOrtAllocator ( GPUReconstruction r = nullptr,
OrtMemoryInfo *  info = nullptr 
)

Definition at line 143 of file GPUTPCNNClusterizerHost.cxx.

◆ ~MockedOrtAllocator()

MockedOrtAllocator::~MockedOrtAllocator ( )

Definition at line 154 of file GPUTPCNNClusterizerHost.cxx.

Member Function Documentation

◆ Alloc()

void * MockedOrtAllocator::Alloc ( size_t  size)

Definition at line 160 of file GPUTPCNNClusterizerHost.cxx.

◆ Free()

void MockedOrtAllocator::Free ( void p)

Definition at line 172 of file GPUTPCNNClusterizerHost.cxx.

◆ Info()

const OrtMemoryInfo * MockedOrtAllocator::Info ( ) const

Definition at line 178 of file GPUTPCNNClusterizerHost.cxx.

◆ LeakCheck()

void MockedOrtAllocator::LeakCheck ( )

Definition at line 193 of file GPUTPCNNClusterizerHost.cxx.

◆ NumAllocations()

size_t MockedOrtAllocator::NumAllocations ( ) const

Definition at line 183 of file GPUTPCNNClusterizerHost.cxx.

◆ NumReserveAllocations()

size_t MockedOrtAllocator::NumReserveAllocations ( ) const

Definition at line 188 of file GPUTPCNNClusterizerHost.cxx.

◆ Reserve()

void * MockedOrtAllocator::Reserve ( size_t  size)

Definition at line 166 of file GPUTPCNNClusterizerHost.cxx.


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