Class GeneratedKernel
- Namespace
- DotCompute.Abstractions.Interfaces.Kernels
- Assembly
- DotCompute.Abstractions.dll
Represents a generated kernel.
public sealed class GeneratedKernel
- Inheritance
-
GeneratedKernel
- Inherited Members
Properties
EntryPoint
Gets the entry point name (defaults to Name).
public string EntryPoint { get; }
Property Value
Id
Gets the kernel ID (alias for Name as Guid).
public Guid Id { get; }
Property Value
Language
Gets or sets the kernel language.
public required KernelLanguage Language { get; init; }
Property Value
Metadata
Gets the kernel metadata (alias for OptimizationMetadata).
public KernelMetadata? Metadata { get; }
Property Value
Name
Gets or sets the kernel name.
public required string Name { get; init; }
Property Value
OptimizationMetadata
Gets or sets optimization metadata.
public Dictionary<string, object>? OptimizationMetadata { get; init; }
Property Value
Parameters
Gets or sets the kernel parameters.
public required IReadOnlyList<KernelParameter> Parameters { get; init; }
Property Value
RequiredWorkGroupSize
Gets or sets the required work group size.
public IReadOnlyList<int>? RequiredWorkGroupSize { get; init; }
Property Value
SharedMemorySize
Gets or sets the shared memory size in bytes.
public int SharedMemorySize { get; init; }
Property Value
Source
Gets or sets the kernel source code.
public required string Source { get; init; }
Property Value
SourceCode
Gets the source code (alias for Source).
public string SourceCode { get; }