OrtSyncStreamImpl class final
\brief Struct that an EP implements if it wishes to implement Stream support.
This struct provides the overrides for onnxruntime::Stream's virtual methods.
\since Version 1.23.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter -
CreateNotification
↔ Pointer<
NativeFunction< OrtStatusPtr Function(Pointer< >OrtSyncStreamImpl> this_ptr, Pointer<Pointer< notification)>OrtSyncNotificationImpl> > -
\brief Create an OrtSyncNotificationImpl for the OrtSyncStreamImpl instance.
getter/setter pair
-
Flush
↔ Pointer<
NativeFunction< OrtStatusPtr Function(Pointer< >OrtSyncStreamImpl> this_ptr)> -
\brief Flush the stream.
getter/setter pair
-
GetHandle
↔ Pointer<
NativeFunction< Pointer< >Void> Function(Pointer<OrtSyncStreamImpl> this_ptr)> -
\brief Get the handle of the stream.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
OnSessionRunEnd
↔ Pointer<
NativeFunction< OrtStatusPtr Function(Pointer< >OrtSyncStreamImpl> this_ptr)> -
\brief Notify the stream that a session run has ended.
getter/setter pair
- ort_version_supported ↔ int
-
< Must be initialized to ORT_API_VERSION
getter/setter pair
-
Release
↔ Pointer<
NativeFunction< Void Function(Pointer< >OrtSyncStreamImpl> this_ptr)> -
\brief Release the OrtSyncStreamImpl instance.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited