Table of Contents

Class HardwareConstants.CpuCache

Namespace
DotCompute.Abstractions.Hardware
Assembly
DotCompute.Abstractions.dll

Typical CPU cache sizes used for tiling heuristics. These are rough defaults; when available, runtime-queried cache sizes should be preferred.

public static class HardwareConstants.CpuCache
Inheritance
HardwareConstants.CpuCache
Inherited Members

Fields

L1Bytes

Typical L1 data cache size per core (32 KB).

public const int L1Bytes = 32768

Field Value

int

L2Bytes

Typical L2 cache size per core (256 KB).

public const int L2Bytes = 262144

Field Value

int

L3BytesPerCore

Typical L3 cache budget per core (2 MB). Total L3 scales with core count.

public const int L3BytesPerCore = 2097152

Field Value

int