Allocates a 1D 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 ) |
Visual Basic |
---|
Public Function AllocateShared(Of T) ( _ varName As String, _ x As Integer _ ) As T() |
Visual C++ |
---|
public: generic<typename T> array<T>^ AllocateShared( String^ varName, int x ) |
Type Parameters
- T
- Blittable type.