Class CudaJOErrorLogBuffer
Pointer to a buffer in which to print any log messages from PTXAS that reflect errors
Option type: char*
Applies to: compiler and linker
You must free the internal buffer array manually after use by calling FreeHandle()!
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ManagedCuda
Assembly: ManagedCuda.dll
Syntax
public class CudaJOErrorLogBuffer : CudaJitOption, IDisposable
Constructors
| Improve this Doc View SourceCudaJOErrorLogBuffer(Int32)
Pointer to a buffer in which to print any log messages from PTXAS that reflect errors
Option type: char*
Applies to: compiler and linker
You must free the internal buffer array manually after use by calling FreeHandle()!
Declaration
public CudaJOErrorLogBuffer(int size)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | size |
Properties
| Improve this Doc View SourceValue
Returns the buffer converted to string.
The value is only valid after a succesful call to UpdateValues()
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool fDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | fDisposing |
Overrides
| Improve this Doc View SourceFreeHandle()
ManagedCuda allocates an byte array as buffer and pins it in order to pass it to Cuda.
You must free the buffer manually if the buffer is not needed anymore.
Declaration
public void FreeHandle()
Implements
System.IDisposable