ILNumerics Ultimate VS

HostDevice Class

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
This class represents the host processor as ILNumerics device. It is used for all .NET based code.

[ILNumerics Core Module]

Inheritance Hierarchy

SystemObject
  ILNumerics.Core.DeviceManagementDevice
    ILNumerics.Core.DeviceManagementHostDevice

Namespace:  ILNumerics.Core.DeviceManagement
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public sealed class HostDevice : Device

The HostDevice type exposes the following members.

Constructors

  NameDescription
Public methodHostDevice
Initializes a new instance of the HostDevice class
Top
Properties

  NameDescription
Public propertyDeviceType
Gives the type (kind) of this device. This returns Host.

[ILNumerics Core Module]

(Overrides DeviceDeviceType.)
Public propertyIndex
The 0-based index of this device in the ordered set of devices currently avaiable on this system.

[ILNumerics Core Module]

(Inherited from Device.)
Public propertyMaxComputeUnits (Inherited from Device.)
Public propertyMemoryPool
Thread local access to the (native) memory pool for this device.

[ILNumerics Core Module]

(Overrides DeviceMemoryPool.)
Public propertyName
A name used to identify this device.

[ILNumerics Core Module]

(Inherited from Device.)
Top
Methods

  NameDescription
Public methodCopy(IntPtr, IntPtr, IntPtr)
Copy memory from source to dest, both from hosts virtual memory.

[ILNumerics Core Module]

Public methodCopy(MemoryHandle, MemoryHandle, IntPtr, IntPtr)
Copy memory from source to dest, both from hosts virtual memory.

[ILNumerics Core Module]

(Overrides DeviceCopy(MemoryHandle, MemoryHandle, IntPtr, IntPtr).)
Public methodCopyFromHost (Overrides DeviceCopyFromHost(MemoryHandle, MemoryHandle, IntPtr, IntPtr).)
Public methodCopyToHost
Public methodEnsureBuffer
Make sure up to-date data are available on the host memory (as NativeHostHandle).

[ILNumerics Core Module]

(Overrides DeviceEnsureBuffer(CountableArray).)
Public methodGetValueT
Read a single value of type T from the element position index on this device.

[ILNumerics Core Module]

(Overrides DeviceGetValueT(MemoryHandle, UInt64).)
Public methodIsLowMemory (Overrides DeviceIsLowMemory.)
Public methodNewT
Acquire a memory handle / array from this pool or create a new one. This class allows T to be a reference type.

[ILNumerics Core Module]

(Overrides DeviceNewT(UInt64, Boolean).)
Public methodSetValueT
Store the value at the memory with element position index on this device.

[ILNumerics Core Module]

(Overrides DeviceSetValueT(T, MemoryHandle, UInt64).)
Public methodToString (Inherited from Device.)
Top
Remarks

[ILNumerics Core Module]

See Also

Reference