Table of Contents

Class KernelCompilationException

Namespace
DotCompute.Backends.CUDA.Types
Assembly
DotCompute.Backends.CUDA.dll

Exception thrown during kernel compilation

public sealed class KernelCompilationException : Exception, ISerializable
Inheritance
KernelCompilationException
Implements
Inherited Members

Constructors

KernelCompilationException()

Initializes a new instance of the KernelCompilationException class.

public KernelCompilationException()

KernelCompilationException(string)

Initializes a new instance of the KernelCompilationException class.

public KernelCompilationException(string message)

Parameters

message string

The message.

KernelCompilationException(string, Exception)

Initializes a new instance of the KernelCompilationException class.

public KernelCompilationException(string message, Exception innerException)

Parameters

message string

The message.

innerException Exception

The inner exception.

KernelCompilationException(string, string?, string?, int?)

Initializes a new instance of the KernelCompilationException class.

public KernelCompilationException(string message, string? compilerOutput, string? sourceCode = null, int? errorCode = null)

Parameters

message string

The message.

compilerOutput string

The compiler output.

sourceCode string

The source code.

errorCode int?

The error code.

Properties

CompilerOutput

Gets or sets the compiler output.

public string? CompilerOutput { get; }

Property Value

string

The compiler output.

ErrorCode

Gets or sets the error code.

public int? ErrorCode { get; }

Property Value

int?

The error code.

SourceCode

Gets or sets the source code.

public string? SourceCode { get; }

Property Value

string

The source code.