GetInteropApi property

Pointer<NativeFunction<Pointer<OrtInteropApi> Function()>> GetInteropApi
getter/setter pair

\brief Get the EP Interop API instance.

Get the Interop API instance to work with external resources. This API provides functions for importing external GPU memory and semaphores for zero-copy sharing between ORT inference and other GPU workloads.

\return Interop API struct instance.

\since Version 1.24.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<ffi.Pointer<OrtInteropApi> Function()>
>
GetInteropApi;