WaitOnDevice property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtSyncNotificationImpl> this_ptr, Pointer<OrtSyncStream> consumer_stream)>> WaitOnDevice
getter/setter pair

\brief Wait for a device to device operation to complete.

\paramin this_ptr Pointer to the OrtSyncNotificationImpl instance. \paramin consumer_stream The OrtSyncStream instance that will wait on this notification to be activated.

\since Version 1.23.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtSyncNotificationImpl> this_ptr,
      ffi.Pointer<OrtSyncStream> consumer_stream,
    )
  >
>
WaitOnDevice;