Allocates array on device.

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

Collapse imageSyntax

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

Parameters

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

Collapse imageType Parameters

T
Blittable type.

Return Value

2D device array.

Collapse imageSee Also