ONNX Runtime
Loading...
Searching...
No Matches
Ort::detail::MemoryInfoImpl< T > Struct Template Reference

#include <onnxruntime_cxx_api.h>

Inheritance diagram for Ort::detail::MemoryInfoImpl< T >:
Ort::detail::Base< T >

Public Types

using B = Base< T >
 
- Public Types inherited from Ort::detail::Base< T >
using contained_type = T
 

Public Member Functions

std::string GetAllocatorName () const
 Wrapper MemoryInfoGetName.
 
OrtAllocatorType GetAllocatorType () const
 Wrapper MemoryInfoGetType.
 
int GetDeviceId () const
 Wrapper MemoryInfoGetId.
 
OrtMemoryInfoDeviceType GetDeviceType () const
 Wrapper MemoryInfoGetDeviceType.
 
OrtMemType GetMemoryType () const
 Wrapper MemoryInfoGetMemType.
 
OrtDeviceMemoryType GetDeviceMemoryType () const
 Wrapper MemoryInfoGetDeviceMemType.
 
uint32_t GetVendorId () const
 Wrapper MemoryInfoGetVendorId.
 
template<typename U >
bool operator== (const MemoryInfoImpl< U > &o) const
 
- Public Member Functions inherited from Ort::detail::Base< T >
constexpr Base ()=default
 
constexpr Base (contained_type *p) noexcept
 
 ~Base ()
 
 Base (const Base &)=delete
 
Baseoperator= (const Base &)=delete
 
 Base (Base &&v) noexcept
 
Baseoperator= (Base &&v) noexcept
 
constexpr operator contained_type * () const noexcept
 
constexpr contained_typeoperator* () const noexcept
 
contained_typerelease ()
 Relinquishes ownership of the contained C object pointer The underlying object is not destroyed.
 

Additional Inherited Members

- Protected Attributes inherited from Ort::detail::Base< T >
contained_typep_ {}
 

Member Typedef Documentation

◆ B

template<typename T >
using Ort::detail::MemoryInfoImpl< T >::B = Base<T>

Member Function Documentation

◆ GetAllocatorName()

template<typename T >
std::string Ort::detail::MemoryInfoImpl< T >::GetAllocatorName ( ) const

Wrapper MemoryInfoGetName.

◆ GetAllocatorType()

template<typename T >
OrtAllocatorType Ort::detail::MemoryInfoImpl< T >::GetAllocatorType ( ) const

Wrapper MemoryInfoGetType.

◆ GetDeviceId()

template<typename T >
int Ort::detail::MemoryInfoImpl< T >::GetDeviceId ( ) const

Wrapper MemoryInfoGetId.

◆ GetDeviceMemoryType()

template<typename T >
OrtDeviceMemoryType Ort::detail::MemoryInfoImpl< T >::GetDeviceMemoryType ( ) const

Wrapper MemoryInfoGetDeviceMemType.

◆ GetDeviceType()

template<typename T >
OrtMemoryInfoDeviceType Ort::detail::MemoryInfoImpl< T >::GetDeviceType ( ) const

Wrapper MemoryInfoGetDeviceType.

◆ GetMemoryType()

template<typename T >
OrtMemType Ort::detail::MemoryInfoImpl< T >::GetMemoryType ( ) const

Wrapper MemoryInfoGetMemType.

◆ GetVendorId()

template<typename T >
uint32_t Ort::detail::MemoryInfoImpl< T >::GetVendorId ( ) const

Wrapper MemoryInfoGetVendorId.

◆ operator==()

template<typename T >
template<typename U >
bool Ort::detail::MemoryInfoImpl< T >::operator== ( const MemoryInfoImpl< U > &  o) const