Table of Contents

Class CompiledKernel

Namespace
DotCompute.Core.Models
Assembly
DotCompute.Core.dll

Represents a compiled CUDA kernel.

public class CompiledKernel
Inheritance
CompiledKernel
Inherited Members

Properties

Architecture

Gets or sets the target architecture.

public string Architecture { get; set; }

Property Value

string

Attributes

Gets or sets kernel attributes.

public KernelAttributes? Attributes { get; set; }

Property Value

KernelAttributes

Binary

Gets or sets the compiled binary data.

public IReadOnlyList<byte> Binary { get; }

Property Value

IReadOnlyList<byte>

BinaryCode

Gets or sets the binary code (cubin).

public IReadOnlyList<byte>? BinaryCode { get; set; }

Property Value

IReadOnlyList<byte>

CompilationLog

Gets or sets the compilation log.

public string? CompilationLog { get; set; }

Property Value

string

CompilationTime

Gets or sets the time spent during compilation.

public TimeSpan CompilationTime { get; set; }

Property Value

TimeSpan

CompiledAt

Gets or sets the compilation timestamp.

public DateTimeOffset CompiledAt { get; set; }

Property Value

DateTimeOffset

ComputeCapability

Gets or sets the compute capability version used for compilation.

public Version ComputeCapability { get; set; }

Property Value

Version

Cubin

Gets or sets the CUBIN binary data.

public IReadOnlyList<byte> Cubin { get; }

Property Value

IReadOnlyList<byte>

EntryPoint

Gets or sets the entry point function name for this kernel.

public string EntryPoint { get; set; }

Property Value

string

FunctionHandle

Gets or sets the kernel function handle.

public nint FunctionHandle { get; set; }

Property Value

nint

LoadedFromCache

Gets or sets whether this kernel was loaded from cache.

public bool LoadedFromCache { get; set; }

Property Value

bool

MaxThreadsPerBlock

Gets or sets the maximum threads per block supported by this kernel.

public int MaxThreadsPerBlock { get; set; }

Property Value

int

ModuleHandle

Gets or sets the CUDA module handle.

public nint ModuleHandle { get; set; }

Property Value

nint

Name

Gets or sets the kernel name.

public string Name { get; set; }

Property Value

string

Ptx

Gets or sets the PTX intermediate representation.

public string Ptx { get; set; }

Property Value

string

PtxCode

Gets or sets the PTX code.

public string? PtxCode { get; set; }

Property Value

string

RequiredSharedMemory

Gets or sets the required shared memory size in bytes for this kernel.

public long RequiredSharedMemory { get; set; }

Property Value

long

SourceHash

Gets or sets the source code hash for cache validation.

public string SourceHash { get; set; }

Property Value

string

TargetDevice

Gets or sets the target device or accelerator type for this kernel.

public string TargetDevice { get; set; }

Property Value

string