GetHardwareDeviceIncompatibilityDetails property
\brief Check for known incompatibility reasons between a hardware device and this execution provider.
This function allows an execution provider to check if a specific hardware device is compatible with the execution provider. The EP can set specific incompatibility reasons via the OrtDeviceEpIncompatibilityDetails parameter using OrtEpApi::DeviceEpIncompatibilityDetails_SetDetails.
\paramin this_ptr The OrtEpFactory instance.
\paramin hw The hardware device to check for incompatibility.
\paramin,out details Pre-allocated incompatibility details object created and initialized by ORT.
The EP can use OrtEpApi::DeviceEpIncompatibilityDetails_SetDetails to set
incompatibility information. If the device is compatible, the EP can
leave the object unchanged (it defaults to no incompatibility).
\note Implementation of this function is optional. If not implemented, ORT will assume the device is compatible with this EP.
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.24.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtEpFactory> this_ptr,
ffi.Pointer<OrtHardwareDevice> hw,
ffi.Pointer<OrtDeviceEpIncompatibilityDetails> details,
)
>
>
GetHardwareDeviceIncompatibilityDetails;