SignalSemaphore property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtExternalResourceImporterImpl> this_ptr, Pointer<OrtExternalSemaphoreHandle> handle, Pointer<OrtSyncStream> stream, Uint64 value)>> SignalSemaphore
getter/setter pair

\brief Signal an external semaphore from the EP's stream.

Inserts a signal operation into the EP's stream that sets the semaphore to the specified value when reached.

\paramin this_ptr Pointer to the OrtExternalResourceImporterImpl instance. \paramin handle The imported external semaphore (EP casts to its derived type). \paramin stream The OrtSyncStream to signal from. \paramin value The fence/semaphore value to signal.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.24.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtExternalResourceImporterImpl> this_ptr,
      ffi.Pointer<OrtExternalSemaphoreHandle> handle,
      ffi.Pointer<OrtSyncStream> stream,
      ffi.Uint64 value,
    )
  >
>
SignalSemaphore;