ONNX Runtime
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Modules Pages
Ort::EpDevice Struct Reference

Mutable EpDevice that is created by EpApi users. More...

#include <onnxruntime_cxx_api.h>

Inheritance diagram for Ort::EpDevice:
Ort::detail::EpDeviceImpl< OrtEpDevice > Ort::detail::Base< T >

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
 
- 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
 
contained_typerelease ()
 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_typep_ {}
 

Detailed Description

Mutable EpDevice that is created by EpApi users.

Constructor & Destructor Documentation

◆ EpDevice() [1/3]

Ort::EpDevice::EpDevice ( std::nullptr_t  )
inlineexplicit

No instance is created.

◆ EpDevice() [2/3]

Ort::EpDevice::EpDevice ( OrtEpDevice p)
inlineexplicit

Take ownership of a pointer created by C API.

◆ EpDevice() [3/3]

Ort::EpDevice::EpDevice ( OrtEpFactory ep_factory,
ConstHardwareDevice hardware_device,
ConstKeyValuePairs  ep_metadata = {},
ConstKeyValuePairs  ep_options = {} 
)