Show / Hide Table of Contents

Class FloatResidentArray

A resident Array of float 32 elements

Inheritance
System.Object
FloatResidentArray
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
public class FloatResidentArray : IResidentData, IResidentArray, IDisposable

Constructors

FloatResidentArray(Int64)

Declaration
public FloatResidentArray(long count)
Parameters
Type Name Description
System.Int64 count

Fields

tab

Declaration
protected float *tab
Field Value
Type Description
System.Single*

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 float this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
System.Single

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