Class IntResidentArray
A resident array of int32 elements
Inheritance
System.Object
IntResidentArray
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
public class IntResidentArray : IResidentData, IResidentArray, IDisposable
Constructors
IntResidentArray(Int64)
Declaration
public IntResidentArray(long count)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | count |
Fields
tab
Declaration
protected int *tab
Field Value
Type | Description |
---|---|
System.Int32* |
Properties
Count
Count
Declaration
public long Count { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
DevicePointer
device pointer
Declaration
public IntPtr DevicePointer { get; set; }
Property Value
Type | Description |
---|---|
System.IntPtr |
HostPointer
host pointer
Declaration
public IntPtr HostPointer { get; }
Property Value
Type | Description |
---|---|
System.IntPtr |
Item[Int32]
Declaration
public int this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
System.Int32 |
Size
Size
Declaration
public long Size { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Status
memory status
Declaration
public ResidentArrayStatus Status { get; set; }
Property Value
Type | Description |
---|---|
ResidentArrayStatus |
Methods
Dispose()
Declaration
public void Dispose()
Finalize()
Declaration
protected void Finalize()
RefreshDevice()
moves memory from host to device
Declaration
public void RefreshDevice()
RefreshHost()
moves memory from device to host
Declaration
public void RefreshHost()
Implements
System.IDisposable