CreateEpDevice property
\brief Create an OrtEpDevice for the EP and an OrtHardwareDevice.
\paramin ep_factory Execution provider factory that is creating the instance.
\paramin hardware_device Hardware device that the EP can utilize.
\paramin ep_metadata Optional OrtKeyValuePairs instance for execution provider metadata that may be used
during execution provider selection and passed to CreateEp.
ep_device will copy this instance and the user should call ReleaseKeyValuePairs.
\paramin ep_options Optional OrtKeyValuePairs instance for execution provider options that will be added
to the Session configuration options if the execution provider is selected.
ep_device will copy this instance and the user should call ReleaseKeyValuePairs.
\param ep_device OrtExecutionDevice that is created.
\since Version 1.22.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtEpFactory> ep_factory,
ffi.Pointer<OrtHardwareDevice> hardware_device,
ffi.Pointer<OrtKeyValuePairs> ep_metadata,
ffi.Pointer<OrtKeyValuePairs> ep_options,
ffi.Pointer<ffi.Pointer<OrtEpDevice>> ep_device,
)
>
>
CreateEpDevice;