Show / Hide Table of Contents

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

    Inheritance
    System.Object
    CudaJitOption
    CudaJOInfoLogBuffer
    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 CudaJOInfoLogBuffer : CudaJitOption, IDisposable

    Constructors

    | Improve this Doc View Source

    CudaJOInfoLogBuffer(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 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