ONNX Runtime
Loading...
Searching...
No Matches
OrtEp Struct Reference

The OrtEp struct provides functions to implement for an execution provider. More...

#include <onnxruntime_c_api.h>

Public Attributes

uint32_t ort_version_supported
 The ONNX Runtime version the execution provider was compiled with.
 
const char *(* GetName )(const OrtEp *this_ptr)
 Get the execution provider name.
 

Detailed Description

The OrtEp struct provides functions to implement for an execution provider.

Since
Version 1.22.

Member Data Documentation

◆ GetName

const char *( * OrtEp::GetName) (const OrtEp *this_ptr)

Get the execution provider name.

Parameters
[in]this_ptrThe OrtEp instance.
Returns
The execution provider name.
Note
Returned string is owned by ORT and valid until UnregisterExecutionProviderLibrary is called.
Since
Version 1.22.

◆ ort_version_supported

uint32_t OrtEp::ort_version_supported

The ONNX Runtime version the execution provider was compiled with.

Implementation should set to ORT_API_VERSION. ORT will use this to ensure it does not call functions that were not available when the library was compiled.

Since
Version 1.22.