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
messagestringThe message.
KernelCompilationException(string, Exception)
Initializes a new instance of the KernelCompilationException class.
public KernelCompilationException(string message, Exception innerException)
Parameters
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
messagestringThe message.
compilerOutputstringThe compiler output.
sourceCodestringThe source code.
errorCodeint?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.