Allocates a 2D array in shared memory.
Namespace: CudafyAssembly: Cudafy (in Cudafy.dll) Version: 1.0.4106.20170
Syntax
C# |
---|
public T[][] AllocateShared<T>( string varName, int x, int y ) |
Visual Basic |
---|
Public Function AllocateShared(Of T) ( _ varName As String, _ x As Integer, _ y As Integer _ ) As T()() |
Visual C++ |
---|
public: generic<typename T> array<array<T>^>^ AllocateShared( String^ varName, int x, int y ) |
Parameters
- varName
- Type: System..::..String
Key of the variable.
- x
- Type: System..::..Int32
The x size.
- y
- Type: System..::..Int32
The y size.
Type Parameters
- T
- Blittable type.