Table of Contents

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

MemoryCoherenceStrategy

CompressionThresholdMB

Gets or sets the compression threshold in MB

[Range(1, 1024)]
public int CompressionThresholdMB { get; set; }

Property Value

int

EnableCompression

Gets or sets whether to enable memory compression

public bool EnableCompression { get; set; }

Property Value

bool

EnableP2PTransfers

Gets or sets whether to enable peer-to-peer memory transfers

public bool EnableP2PTransfers { get; set; }

Property Value

bool

EnableUnifiedMemory

Gets or sets whether to enable unified memory management

public bool EnableUnifiedMemory { get; set; }

Property Value

bool

MaxPoolSizeMB

Gets or sets the maximum buffer pool size in MB

[Range(64, 16384)]
public int MaxPoolSizeMB { get; set; }

Property Value

int

PoolGrowthFactor

Gets or sets the buffer pool growth factor

[Range(1.1, 5)]
public double PoolGrowthFactor { get; set; }

Property Value

double