Frees memory allocated by HostAllocate.
Namespace: Cudafy.HostAssembly: Cudafy.Host (in Cudafy.Host.dll) Version: 1.0.4106.20172
Syntax
C# |
---|
public abstract void HostFree( IntPtr ptr ) |
Visual Basic |
---|
Public MustOverride Sub HostFree ( _ ptr As IntPtr _ ) |
Visual C++ |
---|
public: virtual void HostFree( IntPtr ptr ) abstract |
Parameters
- ptr
- Type: System..::..IntPtr
The pointer to free.
Exceptions
Exception | Condition |
---|---|
Cudafy.Host..::..CudafyHostException | Pointer not found. |