Class HardwareConstants.MemoryPool
- Namespace
- DotCompute.Abstractions.Hardware
- Assembly
- DotCompute.Abstractions.dll
Memory-pool size class boundaries for power-of-two pool allocators.
public static class HardwareConstants.MemoryPool
- Inheritance
-
HardwareConstants.MemoryPool
- Inherited Members
Fields
MaxClassBytes
Largest pool size class (256 MB).
public const int MaxClassBytes = 268435456
Field Value
MinClassBytes
Smallest pool size class (256 bytes).
public const int MinClassBytes = 256
Field Value
SizeClassMultiplier
Growth factor between consecutive size classes (powers of two).
public const int SizeClassMultiplier = 2