![]() |
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. | |
Public Member Functions inherited from Ort::detail::EpDeviceImpl< OrtEpDevice > | |
| const char * | EpName () const |
| const char * | EpVendor () const |
| ConstKeyValuePairs | EpMetadata () const |
| ConstKeyValuePairs | EpOptions () const |
| ConstHardwareDevice | Device () const |
| ConstMemoryInfo | GetMemoryInfo (OrtDeviceMemoryType memory_type) const |
| Wraps EpDevice_MemoryInfo. | |
| SyncStream | CreateSyncStream (ConstKeyValuePairs stream_options={}) const |
Public Member Functions inherited from Ort::detail::Base< T > | |
| 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 |
| constexpr contained_type & | operator* () const noexcept |
| contained_type * | release () |
| Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. | |
Additional Inherited Members | |
Public Types inherited from Ort::detail::EpDeviceImpl< OrtEpDevice > | |
| using | B = Ort::detail::Base< OrtEpDevice > |
Public Types inherited from Ort::detail::Base< T > | |
| using | contained_type = T |
Protected Attributes inherited from Ort::detail::Base< 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.