ILNumerics Ultimate VS

HostDeviceSetValueT Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Store the value at the memory with element position index on this device.

[ILNumerics Core Module]

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

public override void SetValue<T>(
	T value,
	MemoryHandle handle,
	ulong index
)
where T : struct, new()

Parameters

value
Type: T
The new value to be written to the memory.
handle
Type: ILNumerics.Core.MemoryLayerMemoryHandle
Memory handle to the memory containing the element whose value is going to be replaced. This handle must belong to this device.
index
Type: SystemUInt64
The element index of the element to be written.

Type Parameters

T
The element type of value (derived from ValueType).
Remarks

[ILNumerics Core Module]

See Also

Reference