Show / Hide Table of Contents

    Class CudaLinker

    A pending JIT linker invocation.

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

    Constructors

    | Improve this Doc View Source

    CudaLinker()

    Creates a pending JIT linker invocation.

    Declaration
    public CudaLinker()
    | Improve this Doc View Source

    CudaLinker(CudaJitOptionCollection)

    Creates a pending JIT linker invocation.

    Declaration
    public CudaLinker(CudaJitOptionCollection options)
    Parameters
    Type Name Description
    CudaJitOptionCollection options

    Collection of linker and compiler options

    Methods

    | Improve this Doc View Source

    AddData(Byte[], CUJITInputType, String, CudaJitOptionCollection)

    Add an input to a pending linker invocation.

    Declaration
    public void AddData(byte[] data, CUJITInputType type, string name, CudaJitOptionCollection options)
    Parameters
    Type Name Description
    System.Byte[] data

    The input data. PTX must be NULL-terminated.

    CUJITInputType type

    The type of the input data.

    System.String name

    An optional name for this input in log messages.

    CudaJitOptionCollection options

    Collection of linker and compiler options

    | Improve this Doc View Source

    AddData(Stream, CUJITInputType, String, CudaJitOptionCollection)

    Add an input to a pending linker invocation.

    Declaration
    public void AddData(Stream data, CUJITInputType type, string name, CudaJitOptionCollection options)
    Parameters
    Type Name Description
    System.IO.Stream data

    The input data. PTX must be NULL-terminated.

    CUJITInputType type

    The type of the input data.

    System.String name

    An optional name for this input in log messages.

    CudaJitOptionCollection options

    Collection of linker and compiler options

    | Improve this Doc View Source

    AddFile(String, CUJITInputType, CudaJitOptionCollection)

    Add an input to a pending linker invocation.

    Declaration
    public void AddFile(string filename, CUJITInputType type, CudaJitOptionCollection options)
    Parameters
    Type Name Description
    System.String filename

    Path to the input file.

    CUJITInputType type

    The type of the input data.

    CudaJitOptionCollection options

    Collection of linker and compiler options

    | Improve this Doc View Source

    Complete()

    Complete a pending linker invocation.

    Completes the pending linker action and returns the cubin image for the linked device code, which can be used with ::cuModuleLoadData.

    Declaration
    public byte[] Complete()
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    Dispose()

    Dispose

    Destroys state for a JIT linker invocation.

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

    Dispose(Boolean)

    For IDisposable.

    Destroys state for a JIT linker invocation.

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

    Implements

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