Performs a default host memory allocation.
Namespace: Cudafy.HostAssembly: Cudafy.Host (in Cudafy.Host.dll) Version: 1.0.4106.20172
Syntax
C# |
---|
public override IntPtr HostAllocate<T>( int x ) |
Visual Basic |
---|
Public Overrides Function HostAllocate(Of T) ( _ x As Integer _ ) As IntPtr |
Visual C++ |
---|
public: generic<typename T> virtual IntPtr HostAllocate( int x ) override |
Parameters
- x
- Type: System..::..Int32
The x size.
Type Parameters
- T
- Blittable type.