Class KernelGenerationContext
- Namespace
- DotCompute.Abstractions.Interfaces.Kernels
- Assembly
- DotCompute.Abstractions.dll
Context for kernel generation.
public sealed class KernelGenerationContext
- Inheritance
-
KernelGenerationContext
- Inherited Members
Properties
DeviceInfo
Gets or sets the target device information.
public required AcceleratorInfo DeviceInfo { get; init; }
Property Value
Metadata
Gets or sets additional metadata.
public Dictionary<string, object>? Metadata { get; init; }
Property Value
Precision
Gets or sets the precision mode.
public PrecisionMode Precision { get; init; }
Property Value
UseSharedMemory
Gets or sets whether to use shared memory.
public bool UseSharedMemory { get; init; }
Property Value
UseVectorTypes
Gets or sets whether to use vector types.
public bool UseVectorTypes { get; init; }
Property Value
WorkGroupDimensions
Gets or sets the work group dimensions.
public IReadOnlyList<int>? WorkGroupDimensions { get; init; }