Interface IResidentArray
Resident array -- user must manually control memory location
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
[Guid("A44E17E1-D5CF-4B50-8E40-ABF9C18DCB74")]
public interface IResidentArray
Properties
DevicePointer
device pointer
Declaration
IntPtr DevicePointer { get; }
Property Value
Type | Description |
---|---|
System.IntPtr |
HostPointer
host pointer
Declaration
IntPtr HostPointer { get; }
Property Value
Type | Description |
---|---|
System.IntPtr |
Status
memory status
Declaration
ResidentArrayStatus Status { get; set; }
Property Value
Type | Description |
---|---|
ResidentArrayStatus |
Methods
RefreshDevice()
moves memory to device
Declaration
void RefreshDevice()
RefreshHost()
moves memory to host
Declaration
void RefreshHost()