GetSyncIdForLastWaitOnSyncStream property

Pointer<NativeFunction<Uint64 Function(Pointer<OrtSyncStream> producer_stream, Pointer<OrtSyncStream> consumer_stream)>> GetSyncIdForLastWaitOnSyncStream
getter/setter pair

\brief Get the sync ID for the last time the consumer_stream waited on the producer_stream.

When two streams are synchronized, the sync id represents the event used in that synchronization.

\paramin producer_stream The OrtSyncStream that produced the data. \paramin consumer_stream The OrtSyncStream that waited on the producer_stream. \return ID for last sync. 0 if no sync has occurred between the two streams.

\since Version 1.23.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    ffi.Uint64 Function(
      ffi.Pointer<OrtSyncStream> producer_stream,
      ffi.Pointer<OrtSyncStream> consumer_stream,
    )
  >
>
GetSyncIdForLastWaitOnSyncStream;