Show / Hide Table of Contents

    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()!

    Inheritance
    System.Object
    CudaJitOption
    CudaJOErrorLogBuffer
    Implements
    System.IDisposable
    Inherited Members
    CudaJitOption._ptrValue
    CudaJitOption._option
    CudaJitOption.disposed
    CudaJitOption.Dispose()
    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 Source

    CudaJOErrorLogBuffer(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 Source

    Value

    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 Source

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool fDisposing)
    Parameters
    Type Name Description
    System.Boolean fDisposing
    Overrides
    CudaJitOption.Dispose(Boolean)
    | Improve this Doc View Source

    FreeHandle()

    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
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX