Allocates array on device of same size as supplied host array.
Namespace: Cudafy.HostAssembly: Cudafy.Host (in Cudafy.Host.dll) Version: 1.0.4106.20172
Syntax
C# |
---|
public abstract T[] Allocate<T>( T[] hostArray ) |
Visual Basic |
---|
Public MustOverride Function Allocate(Of T) ( _ hostArray As T() _ ) As T() |
Visual C++ |
---|
public: generic<typename T> virtual array<T>^ Allocate( array<T>^ hostArray ) abstract |
Parameters
- hostArray
- Type: array<T>[]()[][]
The host array.
Type Parameters
- T
- Blittable type.