Table of Contents

Class KernelMetadata

Namespace
DotCompute.Backends.CUDA.Compilation
Assembly
DotCompute.Backends.CUDA.dll

Represents metadata for a cached CUDA kernel.

public sealed class KernelMetadata
Inheritance
KernelMetadata
Inherited Members

Properties

AccessCount

Gets or sets the access count for usage statistics.

public int AccessCount { get; set; }

Property Value

int

AdditionalMetadata

Gets or sets additional metadata as key-value pairs.

public Dictionary<string, object> AdditionalMetadata { get; }

Property Value

Dictionary<string, object>

CacheKey

Gets or sets the cache key for this kernel.

public string CacheKey { get; set; }

Property Value

string

CompilationTime

Gets or sets the compilation time in milliseconds.

public double CompilationTime { get; set; }

Property Value

double

CompiledAt

Gets or sets when this kernel was compiled.

public DateTimeOffset CompiledAt { get; set; }

Property Value

DateTimeOffset

ComputeCapability

Gets or sets the compute capability this kernel was compiled for.

public Version ComputeCapability { get; set; }

Property Value

Version

DiskPath

Gets or sets the disk path where the kernel is stored.

public string DiskPath { get; set; }

Property Value

string

FileSize

Gets or sets the file size of the cached kernel in bytes.

public long FileSize { get; set; }

Property Value

long

IsCubin

Gets or sets whether this kernel uses cubin format.

public bool IsCubin { get; set; }

Property Value

bool

KernelName

Gets or sets the kernel name.

public string KernelName { get; set; }

Property Value

string

LastAccessed

Gets or sets the last access time for LRU eviction.

public DateTimeOffset LastAccessed { get; set; }

Property Value

DateTimeOffset

OptimizationLevel

Gets or sets the optimization level used during compilation.

public OptimizationLevel OptimizationLevel { get; set; }

Property Value

OptimizationLevel