Class HardwareConstants.CacheLine
- Namespace
- DotCompute.Abstractions.Hardware
- Assembly
- DotCompute.Abstractions.dll
Cache-line-size constants. Bytes covers modern Zen4 and NVIDIA Hopper L2 (128 B). Legacy64 is the 64 B value that most x86 parts (Intel/AMD pre-Zen4) and older CPUs use; migrated callers that assumed 64 B should reference Legacy64 explicitly.
public static class HardwareConstants.CacheLine
- Inheritance
-
HardwareConstants.CacheLine
- Inherited Members
Fields
Bytes
Cache line size for modern architectures (128 bytes).
public const int Bytes = 128
Field Value
Legacy64
Legacy 64-byte cache line used by most x86 parts through Zen3.
public const int Legacy64 = 64