EpDevice_MemoryInfo property
Pointer<NativeFunction<Pointer<OrtMemoryInfo> Function(Pointer<OrtEpDevice> ep_device, UnsignedInt memory_type)> >
EpDevice_MemoryInfo
getter/setter pair
\brief Get the OrtMemoryInfo for the device.
\paramin ep_device The OrtEpDevice instance to query.
\paramin memory_type The memory type to return.
\return A pointer to the OrtMemoryInfo for the device. This may be nullptr if not set.
If memory_type is OrtDeviceMemoryType_DEFAULT and nullptr is returned the EP uses CPU memory.
\since Version 1.23
Implementation
external ffi.Pointer<
ffi.NativeFunction<
ffi.Pointer<OrtMemoryInfo> Function(
ffi.Pointer<OrtEpDevice> ep_device,
ffi.UnsignedInt memory_type,
)
>
>
EpDevice_MemoryInfo;