Class KernelCharacteristics
- Namespace
- DotCompute.Backends.Metal.Kernels
- Assembly
- DotCompute.Backends.Metal.dll
Kernel characteristics used for threadgroup size optimization.
public sealed record KernelCharacteristics : IEquatable<KernelCharacteristics>
- Inheritance
-
KernelCharacteristics
- Implements
- Inherited Members
Properties
Dimensionality
Workload dimensionality (1D, 2D, 3D).
public int Dimensionality { get; init; }
Property Value
HasAtomics
Whether kernel uses atomic operations.
public bool HasAtomics { get; init; }
Property Value
HasBarriers
Whether kernel uses threadgroup barriers.
public bool HasBarriers { get; init; }
Property Value
Intensity
Compute intensity classification.
public ComputeIntensity Intensity { get; init; }
Property Value
RegisterUsageEstimate
Register usage estimate (0-128, 32 is typical).
public int RegisterUsageEstimate { get; init; }
Property Value
SharedMemoryBytes
Shared memory usage in bytes.
public int SharedMemoryBytes { get; init; }