Class CudaJOInfoLogBuffer
Pointer to a buffer in which to print any log messsages from PTXAS that are informational in nature (the buffer size is specified via option ::CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES)
Option type: char*
Applies to: compiler and linker
You must free the internal buffer array manually after use by calling FreeHandle()!
Implements
Inherited Members
Namespace: ManagedCuda
Assembly: ManagedCuda.dll
Syntax
public class CudaJOInfoLogBuffer : CudaJitOption, IDisposable
Constructors
| Improve this Doc View SourceCudaJOInfoLogBuffer(Int32)
Pointer to a buffer in which to print any log messsages from PTXAS that are informational in nature
Option type: char*
Applies to: compiler and linker
You must free the internal buffer array manually after use by calling FreeHandle()!
Declaration
public CudaJOInfoLogBuffer(int size)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | size | Size of the internal buffer array |
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()