ILNumerics Ultimate VS

Device Class

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
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 abstract class Device

The Device type exposes the following members.

Constructors

  NameDescription
Public methodDevice
Initializes a new instance of the Device class
Top
Properties

  NameDescription
Public propertyDeviceType
Gets the type(s) of the device. A bitfield with bits set according to values from DeviceTypes.

[ILNumerics Core Module]

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

[ILNumerics Core Module]

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

[ILNumerics Core Module]

Public propertyName
A name used to identify this device.

[ILNumerics Core Module]

Top
Methods

  NameDescription
Public methodCopy
Copy memory onto the same device.

[ILNumerics Core Module]

Public methodCopyFromHost
Copy a range of memory from the host to this device.

[ILNumerics Core Module]

Public methodCopyToHost
Copies a block of bytes from this device to the host memory. Blocking operation. Memory barrier for related handles.

[ILNumerics Core Module]

Public methodEnsureBuffer
Protected methodGetMaxComputeUnits
Returns the maximum number of compute units for this device. Used for initializing the device.

[ILNumerics Core Module]

Public methodGetValueT
Read a single value of type T from the memory position handle on this device.

[ILNumerics Core Module]

Public methodIsLowMemory
Informs about the current system health, memory related. Derived classes implement device specific measures. This base implementation always returns false.

[ILNumerics Core Module]

Public methodNewT
Allocate new memory for the given number of elements.

[ILNumerics Core Module]

Public methodSetValueT
Store the value at the memory with element position index on this device.

[ILNumerics Core Module]

Public methodToString (Overrides ObjectToString.)
Top
Fields

  NameDescription
Protected fieldm_memoryPools
Protected fieldm_poolFactoryFunc
Top
See Also

Reference