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