![]() |
ONNX Runtime
|
Mutable EpDevice that is created by EpApi users. More...
#include <onnxruntime_cxx_api.h>
Public Member Functions | |
EpDevice (std::nullptr_t) | |
No instance is created. | |
EpDevice (OrtEpDevice *p) | |
Take ownership of a pointer created by C API. | |
EpDevice (OrtEpFactory &ep_factory, ConstHardwareDevice &hardware_device, ConstKeyValuePairs ep_metadata={}, ConstKeyValuePairs ep_options={}) | |
Wraps OrtEpApi::CreateEpDevice. | |
![]() | |
const char * | EpName () const |
const char * | EpVendor () const |
ConstKeyValuePairs | EpMetadata () const |
ConstKeyValuePairs | EpOptions () const |
ConstHardwareDevice | Device () const |
![]() | |
constexpr | Base ()=default |
constexpr | Base (contained_type *p) noexcept |
~Base () | |
Base (const Base &)=delete | |
Base & | operator= (const Base &)=delete |
Base (Base &&v) noexcept | |
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. | |
Additional Inherited Members | |
![]() | |
using | B = Ort::detail::Base< OrtEpDevice > |
![]() | |
using | contained_type = T |
![]() | |
contained_type * | p_ {} |
Mutable EpDevice that is created by EpApi users.
|
inlineexplicit |
No instance is created.
|
inlineexplicit |
Take ownership of a pointer created by C API.
Ort::EpDevice::EpDevice | ( | OrtEpFactory & | ep_factory, |
ConstHardwareDevice & | hardware_device, | ||
ConstKeyValuePairs | ep_metadata = {} , |
||
ConstKeyValuePairs | ep_options = {} |
||
) |
Wraps OrtEpApi::CreateEpDevice.