Share via


MLCTensor.CopyDataFromDeviceMemory(IntPtr, UIntPtr, Boolean) Method

Definition

[Foundation.Export("copyDataFromDeviceMemoryToBytes:length:synchronizeWithDevice:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool CopyDataFromDeviceMemory(IntPtr bytes, UIntPtr length, bool synchronizeWithDevice);
[<Foundation.Export("copyDataFromDeviceMemoryToBytes:length:synchronizeWithDevice:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CopyDataFromDeviceMemory : nativeint * unativeint * bool -> bool
override this.CopyDataFromDeviceMemory : nativeint * unativeint * bool -> bool

Parameters

bytes
IntPtr

nativeint

length
UIntPtr

unativeint

synchronizeWithDevice
Boolean

Returns

Attributes

Applies to