ILNumerics - Technical Application Development
SystemObject
ILNumerics.Core.DeviceManagementDevice
ILNumerics.Core.DeviceManagementHostDevice
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Top
Top
Top
This class represents the host processor as ILNumerics device. It is used for all .NET based code.
[ILNumerics Core Module]
Inheritance Hierarchy
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
The HostDevice type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HostDevice | Initializes a new instance of the HostDevice class |
Properties
Name | Description | |
---|---|---|
DeviceType |
Gives the type (kind) of this device. This returns Host.
(Overrides DeviceDeviceType.)[ILNumerics Core Module] | |
Index |
The 0-based index of this device in the ordered set of devices currently avaiable on this system.
(Inherited from Device.)[ILNumerics Core Module] | |
MaxComputeUnits | (Inherited from Device.) | |
MemoryPool |
Thread local access to the (native) memory pool for this device.
(Overrides DeviceMemoryPool.)[ILNumerics Core Module] | |
Name |
A name used to identify this device.
(Inherited from Device.)[ILNumerics Core Module] |
Methods
Name | Description | |
---|---|---|
Copy(IntPtr, IntPtr, IntPtr) |
Copy memory from source to dest, both from hosts virtual memory.
[ILNumerics Core Module] | |
Copy(MemoryHandle, MemoryHandle, IntPtr, IntPtr) |
Copy memory from source to dest, both from hosts virtual memory.
(Overrides DeviceCopy(MemoryHandle, MemoryHandle, IntPtr, IntPtr).)[ILNumerics Core Module] | |
CopyFromHost | (Overrides DeviceCopyFromHost(MemoryHandle, MemoryHandle, IntPtr, IntPtr).) | |
CopyToHost | (Overrides DeviceCopyToHost(MemoryHandle, MemoryHandle, IntPtr, IntPtr).) | |
EnsureBuffer |
Make sure up to-date data are available on the host memory (as NativeHostHandle).
(Overrides DeviceEnsureBuffer(CountableArray).)[ILNumerics Core Module] | |
GetValueT |
Read a single value of type T from the element position index on this device.
(Overrides DeviceGetValueT(MemoryHandle, UInt64).)[ILNumerics Core Module] | |
IsLowMemory | (Overrides DeviceIsLowMemory.) | |
NewT |
Acquire a memory handle / array from this pool or create a new one. This class allows T to be a reference type.
(Overrides DeviceNewT(UInt64, Boolean).)[ILNumerics Core Module] | |
SetValueT |
Store the value at the memory with element position index on this device.
(Overrides DeviceSetValueT(T, MemoryHandle, UInt64).)[ILNumerics Core Module] | |
ToString | (Inherited from Device.) |
Remarks
[ILNumerics Core Module]
See Also