Class NumaMemoryPolicy
- Namespace
- DotCompute.Backends.CPU.Threading
- Assembly
- DotCompute.Backends.CPU.dll
Represents NUMA memory allocation policy.
public sealed class NumaMemoryPolicy
- Inheritance
-
NumaMemoryPolicy
- Inherited Members
Properties
AllowRemoteAccess
Gets or sets whether to allow remote node access.
public bool AllowRemoteAccess { get; set; }
Property Value
BindToNodes
Gets or sets whether to bind memory to specific nodes.
public bool BindToNodes { get; set; }
Property Value
InterleavingEnabled
Gets or sets whether interleaving is enabled.
public bool InterleavingEnabled { get; set; }
Property Value
PreferLocalNode
Gets or sets whether to prefer local node allocation.
public bool PreferLocalNode { get; set; }
Property Value
PreferredNodes
Gets or sets the preferred NUMA nodes for allocation.
public IReadOnlyList<int> PreferredNodes { get; set; }
Property Value
Strategy
Gets or sets the allocation strategy.
public NumaAllocationStrategy Strategy { get; set; }
Property Value
Methods
CreateDefault()
Creates a default NUMA memory policy.
public static NumaMemoryPolicy CreateDefault()
Returns
- NumaMemoryPolicy
A new NumaMemoryPolicy instance.