CreateSyncStreamForEpDevice property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtEpDevice> ep_device, Pointer<OrtKeyValuePairs> stream_options, Pointer<Pointer<OrtSyncStream> > stream)> >
CreateSyncStreamForEpDevice
getter/setter pair
\brief Create an OrtSyncStream for the given OrtEpDevice.
The OrtSyncStream can be used to enable asynchronous operations. e.g. async usage of CopyTensors to provide input to an OrtSession Run call.
An error code of ORT_NOT_IMPLEMENTED will be returned if the EP does not support OrtSyncStream.
\paramin ep_device The OrtEpDevice instance to create the sync stream for.
\paramin stream_options Options for OrtSyncStream creation. May be nullptr.
\paramout stream Output parameter set to the created OrtSyncStream instance.
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.23
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtEpDevice> ep_device,
ffi.Pointer<OrtKeyValuePairs> stream_options,
ffi.Pointer<ffi.Pointer<OrtSyncStream>> stream,
)
>
>
CreateSyncStreamForEpDevice;