#include <onnxruntime_c_api.h>
◆ CreateEpDevice()
Create an OrtEpDevice for the EP and an OrtHardwareDevice.
- Parameters
-
[in] | ep_factory | Execution provider factory that is creating the instance. |
[in] | hardware_device | Hardware device that the EP can utilize. |
[in] | 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. |
[in] | 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. |
| ep_device | OrtExecutionDevice that is created. |
- Since
- Version 1.22.
◆ ReleaseEpDevice()