Sets the specified device array to zero.

Namespace: Cudafy.Host
Assembly: Cudafy.Host (in Cudafy.Host.dll) Version: 1.0.4106.20172

Syntax

C#
public void Set<T>(
	T[] devArray,
	int offset,
	int count
)
Visual Basic
Public Sub Set(Of T) ( _
	devArray As T(), _
	offset As Integer, _
	count As Integer _
)
Visual C++
public:
generic<typename T>
void Set(
	array<T>^ devArray, 
	int offset, 
	int count
)

Parameters

devArray
Type: array<T>[]()[][]
The device array.
offset
Type: System..::..Int32
The offset.
count
Type: System..::..Int32
The number of elements.

Type Parameters

T
Blittable type.

See Also