GetHardwareDeviceEpIncompatibilityDetails property
\brief Check for known incompatibility issues between hardware device and a specific execution provider.
This function checks for known incompatibility issues between the specified hardware device and a specific execution provider. If returned incompatibility details have non-zero reasons, it indicates the device is not compatible. However, if returned detail have reason == 0, it doesn't guarantee 100% compatibility for all models, as models may have specific requirements.
Note: This method should only be called when the OrtEnv has been initialized with execution providers (after RegisterExecutionProviderLibrary is called).
\paramin env The OrtEnv instance with registered execution providers.
\paramin ep_name The name of the execution provider to check. Required and cannot be null or empty.
\paramin hw The hardware device to check for incompatibility.
\paramout details Compatibility details including reasons for incompatibility if any.
Must be freed with OrtApi::ReleaseDeviceEpIncompatibilityDetails.
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.24.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtEnv> env,
ffi.Pointer<ffi.Char> ep_name,
ffi.Pointer<OrtHardwareDevice> hw,
ffi.Pointer<ffi.Pointer<OrtDeviceEpIncompatibilityDetails>> details,
)
>
>
GetHardwareDeviceEpIncompatibilityDetails;