Allocates array on device.

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

Syntax

C#
public abstract T[,,] Allocate<T>(
	int x,
	int y,
	int z
)
Visual Basic
Public MustOverride Function Allocate(Of T) ( _
	x As Integer, _
	y As Integer, _
	z As Integer _
) As T(,,)
Visual C++
public:
generic<typename T>
virtual array<T,3>^ Allocate(
	int x, 
	int y, 
	int z
) abstract

Parameters

x
Type: System..::..Int32
The x dimension.
y
Type: System..::..Int32
The y dimension.
z
Type: System..::..Int32
The z dimension.

Type Parameters

T
Blittable type.

Return Value

3D device array.

See Also