HardwareDevice_DeviceId property

Pointer<NativeFunction<Uint32 Function(Pointer<OrtHardwareDevice> device)>> HardwareDevice_DeviceId
getter/setter pair

\brief Get the hardware device's unique identifier.

\paramin device The OrtHardwareDevice instance to query. \return The device id.

\note This is not a unique identifier. It identifies the hardware type when combined with vendor id. \since Version 1.22.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    ffi.Uint32 Function(ffi.Pointer<OrtHardwareDevice> device)
  >
>
HardwareDevice_DeviceId;