Show / Hide Table of Contents

    Class CudaJitOptionCollection

    A list of JIT compiler / linker option passed to Cuda.

    If buffer options are used (i.e. InfoLogBuffer and ErrorLogBuffer), this collection should only be used once as buffer size is overwritten by Cuda.

    To copy data from unmanaged to managed memory, call UpdateValues() after the API call that produced output data.

    Maximum number of options is limited to 30.

    Inheritance
    System.Object
    CudaJitOptionCollection
    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 CudaJitOptionCollection : IDisposable

    Fields

    | Improve this Doc View Source

    disposed

    Declaration
    protected bool disposed
    Field Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    Add(CudaJitOption)

    Add a single option to the collection.

    Declaration
    public void Add(CudaJitOption opt)
    Parameters
    Type Name Description
    CudaJitOption opt

    Option to add

    | Improve this Doc View Source

    Add(IList<CudaJitOption>)

    A multiple options to the collection.

    Declaration
    public void Add(IList<CudaJitOption> options)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<CudaJitOption> options

    Options to add

    | Improve this Doc View Source

    Dispose()

    Dispose

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    For IDisposable

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

    Finalize()

    For dispose

    Declaration
    protected void Finalize()
    | Improve this Doc View Source

    ResetValues()

    Reset values returned from Cuda API for info and error buffers.

    Declaration
    public void ResetValues()
    | Improve this Doc View Source

    UpdateValues()

    Copy data from unmanaged to managed memory

    Declaration
    public void UpdateValues()

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX