CanCopy property
Pointer<NativeFunction<Bool Function(Pointer<OrtDataTransferImpl> this_ptr, Pointer<OrtMemoryDevice> src_memory_device, Pointer<OrtMemoryDevice> dst_memory_device)> >
CanCopy
getter/setter pair
\brief Check if the implementation can copy between the source and destination memory devices.
\paramin this_ptr Pointer to the OrtDataTransferImpl instance.
\paramin src_memory_device Source OrtMemoryDevice to copy from.
\paramin dst_memory_device Destination OrtMemoryDevice to copy to.
\return True if the implementation can copy between the devices.
\since Version 1.23.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
ffi.Bool Function(
ffi.Pointer<OrtDataTransferImpl> this_ptr,
ffi.Pointer<OrtMemoryDevice> src_memory_device,
ffi.Pointer<OrtMemoryDevice> dst_memory_device,
)
>
>
CanCopy;