Class DoubleZeroCopyResidentArray
A resident array of double precision real numbers, allocated using zero-copy Complete documentation here
Inheritance
System.Object
DoubleZeroCopyResidentArray
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
[HybridMappedJavaType("com.altimesh.hybridizer.runtime.api.IResidentArray")]
public class DoubleZeroCopyResidentArray : IResidentData, IResidentArray, IDisposable
Constructors
DoubleZeroCopyResidentArray(Int64, Object)
constructor
Declaration
public DoubleZeroCopyResidentArray(long count, object source = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | count | |
| System.Object | source |
Fields
tab
Declaration
protected double *tab
Field Value
| Type | Description |
|---|---|
| System.Double* |
Properties
Count
number of elements
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]
indexer
Declaration
public double this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Property Value
| Type | Description |
|---|---|
| System.Double |
Size
Size in bytes
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