Class AdvancedMemoryOptions
- Namespace
- DotCompute.Runtime.Configuration
- Assembly
- DotCompute.Runtime.dll
Configuration options for advanced memory management
public class AdvancedMemoryOptions
- Inheritance
-
AdvancedMemoryOptions
- Inherited Members
Properties
CoherenceStrategy
Gets or sets the memory coherence strategy
public MemoryCoherenceStrategy CoherenceStrategy { get; set; }
Property Value
CompressionThresholdMB
Gets or sets the compression threshold in MB
[Range(1, 1024)]
public int CompressionThresholdMB { get; set; }
Property Value
EnableCompression
Gets or sets whether to enable memory compression
public bool EnableCompression { get; set; }
Property Value
EnableP2PTransfers
Gets or sets whether to enable peer-to-peer memory transfers
public bool EnableP2PTransfers { get; set; }
Property Value
EnableUnifiedMemory
Gets or sets whether to enable unified memory management
public bool EnableUnifiedMemory { get; set; }
Property Value
MaxPoolSizeMB
Gets or sets the maximum buffer pool size in MB
[Range(64, 16384)]
public int MaxPoolSizeMB { get; set; }
Property Value
PoolGrowthFactor
Gets or sets the buffer pool growth factor
[Range(1.1, 5)]
public double PoolGrowthFactor { get; set; }