WaitSemaphore property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtExternalResourceImporterImpl> this_ptr, Pointer<OrtExternalSemaphoreHandle> handle, Pointer<OrtSyncStream> stream, Uint64 value)> >
WaitSemaphore
getter/setter pair
\brief Wait on an external semaphore on the EP's stream.
Inserts a wait operation into the EP's stream that blocks until the semaphore reaches the specified value.
\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 wait on.
\paramin value The fence/semaphore value to wait for.
\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,
)
>
>
WaitSemaphore;