Show / Hide Table of Contents

    Class CudaRuntimeCompiler

    Cuda runtime compiler

    Inheritance
    System.Object
    CudaRuntimeCompiler
    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.NVRTC
    Assembly: NVRTC.dll
    Syntax
    public class CudaRuntimeCompiler : IDisposable

    Constructors

    | Improve this Doc View Source

    CudaRuntimeCompiler(String, String)

    Creates a runtime compiler instance.

    Declaration
    public CudaRuntimeCompiler(string src, string name)
    Parameters
    Type Name Description
    System.String src

    CUDA program source.

    System.String name

    CUDA program name.

    name can be NULL; "default_program" is used when name is NULL.

    | Improve this Doc View Source

    CudaRuntimeCompiler(String, String, String[], String[])

    Creates a runtime compiler instance.

    Declaration
    public CudaRuntimeCompiler(string src, string name, string[] headers, string[] includeNames)
    Parameters
    Type Name Description
    System.String src

    CUDA program source.

    System.String name

    CUDA program name.

    name can be NULL; "default_program" is used when name is NULL.

    System.String[] headers

    Name of each header by which they can be included in the CUDA program source.

    System.String[] includeNames

    Sources of the headers.

    Methods

    | Improve this Doc View Source

    AddNameExpression(String)

    Declaration
    public void AddNameExpression(string nameExpression)
    Parameters
    Type Name Description
    System.String nameExpression
    | Improve this Doc View Source

    Compile(String[])

    Declaration
    public void Compile(string[] options)
    Parameters
    Type Name Description
    System.String[] options
    | 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

    GetLog()

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

    GetLogAsString()

    Declaration
    public string GetLogAsString()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetLoweredName(String)

    Declaration
    public string GetLoweredName(string nameExpression)
    Parameters
    Type Name Description
    System.String nameExpression
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetPTX()

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

    GetPTXAsString()

    Declaration
    public string GetPTXAsString()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetVersion()

    Declaration
    public static Version GetVersion()
    Returns
    Type Description
    System.Version

    Implements

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