|
HDK
|
Wrapper around OrtMemoryInfo. More...
#include <onnxruntime_cxx_api.h>
Inheritance diagram for Ort::MemoryInfo:Public Member Functions | |
| MemoryInfo (std::nullptr_t) | |
| No instance is created. More... | |
| MemoryInfo (OrtMemoryInfo *p) | |
| ConstMemoryInfo | GetConst () const |
| Take ownership of a pointer created by C Api. More... | |
Public Member Functions inherited from Ort::detail::MemoryInfoImpl< OrtMemoryInfo > | |
| std::string | GetAllocatorName () const |
| OrtAllocatorType | GetAllocatorType () const |
| int | GetDeviceId () const |
| OrtMemoryInfoDeviceType | GetDeviceType () const |
| OrtMemType | GetMemoryType () const |
| bool | operator== (const MemoryInfoImpl< U > &o) const |
Public Member Functions inherited from Ort::detail::Base< OrtMemoryInfo > | |
| constexpr | Base ()=default |
| constexpr | Base (contained_type *p) noexcept |
| Base (const Base &)=delete | |
| Base (Base &&v) noexcept | |
| ~Base () | |
| Base & | operator= (const Base &)=delete |
| Base & | operator= (Base &&v) noexcept |
| constexpr | operator contained_type * () const noexcept |
| contained_type * | release () |
| Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. More... | |
Static Public Member Functions | |
| static MemoryInfo | CreateCpu (OrtAllocatorType type, OrtMemType mem_type1) |
Additional Inherited Members | |
Public Types inherited from Ort::detail::MemoryInfoImpl< OrtMemoryInfo > | |
| using | B = Base< OrtMemoryInfo > |
Public Types inherited from Ort::detail::Base< OrtMemoryInfo > | |
| using | contained_type = OrtMemoryInfo |
Protected Attributes inherited from Ort::detail::Base< OrtMemoryInfo > | |
| contained_type * | p_ |
Wrapper around OrtMemoryInfo.
Definition at line 1202 of file onnxruntime_cxx_api.h.
|
inlineexplicit |
No instance is created.
Definition at line 1204 of file onnxruntime_cxx_api.h.
|
inlineexplicit |
Definition at line 1205 of file onnxruntime_cxx_api.h.
|
inlinestatic |
Definition at line 301 of file onnxruntime_cxx_inline.h.
|
inline |
Take ownership of a pointer created by C Api.
Definition at line 1207 of file onnxruntime_cxx_api.h.