OnnxRuntime
Ort::AllocatorWithDefaultOptions Struct Reference

#include <onnxruntime_cxx_api.h>

Public Member Functions

 AllocatorWithDefaultOptions ()
 
 operator OrtAllocator * ()
 
 operator const OrtAllocator * () const
 
void * Alloc (size_t size)
 
MemoryAllocation GetAllocation (size_t size)
 
void Free (void *p)
 
const OrtMemoryInfoGetInfo () const
 

Constructor & Destructor Documentation

◆ AllocatorWithDefaultOptions()

Ort::AllocatorWithDefaultOptions::AllocatorWithDefaultOptions ( )

Member Function Documentation

◆ Alloc()

void * Ort::AllocatorWithDefaultOptions::Alloc ( size_t  size)

◆ Free()

void Ort::AllocatorWithDefaultOptions::Free ( void *  p)

◆ GetAllocation()

MemoryAllocation Ort::AllocatorWithDefaultOptions::GetAllocation ( size_t  size)

◆ GetInfo()

const OrtMemoryInfo * Ort::AllocatorWithDefaultOptions::GetInfo ( ) const

◆ operator const OrtAllocator *()

Ort::AllocatorWithDefaultOptions::operator const OrtAllocator * ( ) const
inline

◆ operator OrtAllocator *()

Ort::AllocatorWithDefaultOptions::operator OrtAllocator * ( )
inline