Allocates array on device.
Namespace: Cudafy.HostAssembly: Cudafy.Host (in Cudafy.Host.dll) Version: 1.0.4106.20172
Syntax
C# |
---|
public override T[] Allocate<T>( int x ) |
Visual Basic |
---|
Public Overrides Function Allocate(Of T) ( _ x As Integer _ ) As T() |
Visual C++ |
---|
public: generic<typename T> virtual array<T>^ Allocate( int x ) override |
Parameters
- x
- Type: System..::..Int32
Length of 1D array.
Type Parameters
- T
- Blittable type.