Show / Hide Table of Contents

Class DoubleResidentArray

A resident array of double precision real number

Inheritance
System.Object
DoubleResidentArray
Implements
IResidentData
IResidentArray
System.IDisposable
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 DoubleResidentArray : IResidentData, IResidentArray, IDisposable

Constructors

DoubleResidentArray(Int64, Object)

constructor

Declaration
public DoubleResidentArray(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

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]

indexer

Declaration
public double this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
System.Double

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

IResidentData
IResidentArray
System.IDisposable
Back to top Generated by DocFX