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
Attributes
Gets or sets kernel attributes.
public KernelAttributes? Attributes { get; set; }
Property Value
Binary
Gets or sets the compiled binary data.
public IReadOnlyList<byte> Binary { get; }
Property Value
BinaryCode
Gets or sets the binary code (cubin).
public IReadOnlyList<byte>? BinaryCode { get; set; }
Property Value
CompilationLog
Gets or sets the compilation log.
public string? CompilationLog { get; set; }
Property Value
CompilationTime
Gets or sets the time spent during compilation.
public TimeSpan CompilationTime { get; set; }
Property Value
CompiledAt
Gets or sets the compilation timestamp.
public DateTimeOffset CompiledAt { get; set; }
Property Value
ComputeCapability
Gets or sets the compute capability version used for compilation.
public Version ComputeCapability { get; set; }
Property Value
Cubin
Gets or sets the CUBIN binary data.
public IReadOnlyList<byte> Cubin { get; }
Property Value
EntryPoint
Gets or sets the entry point function name for this kernel.
public string EntryPoint { get; set; }
Property Value
FunctionHandle
Gets or sets the kernel function handle.
public nint FunctionHandle { get; set; }
Property Value
LoadedFromCache
Gets or sets whether this kernel was loaded from cache.
public bool LoadedFromCache { get; set; }
Property Value
MaxThreadsPerBlock
Gets or sets the maximum threads per block supported by this kernel.
public int MaxThreadsPerBlock { get; set; }
Property Value
ModuleHandle
Gets or sets the CUDA module handle.
public nint ModuleHandle { get; set; }
Property Value
Name
Gets or sets the kernel name.
public string Name { get; set; }
Property Value
Ptx
Gets or sets the PTX intermediate representation.
public string Ptx { get; set; }
Property Value
PtxCode
Gets or sets the PTX code.
public string? PtxCode { get; set; }
Property Value
RequiredSharedMemory
Gets or sets the required shared memory size in bytes for this kernel.
public long RequiredSharedMemory { get; set; }
Property Value
SourceHash
Gets or sets the source code hash for cache validation.
public string SourceHash { get; set; }
Property Value
TargetDevice
Gets or sets the target device or accelerator type for this kernel.
public string TargetDevice { get; set; }