Table of Contents

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

bool

BindToNodes

Gets or sets whether to bind memory to specific nodes.

public bool BindToNodes { get; set; }

Property Value

bool

InterleavingEnabled

Gets or sets whether interleaving is enabled.

public bool InterleavingEnabled { get; set; }

Property Value

bool

PreferLocalNode

Gets or sets whether to prefer local node allocation.

public bool PreferLocalNode { get; set; }

Property Value

bool

PreferredNodes

Gets or sets the preferred NUMA nodes for allocation.

public IReadOnlyList<int> PreferredNodes { get; set; }

Property Value

IReadOnlyList<int>

Strategy

Gets or sets the allocation strategy.

public NumaAllocationStrategy Strategy { get; set; }

Property Value

NumaAllocationStrategy

Methods

CreateDefault()

Creates a default NUMA memory policy.

public static NumaMemoryPolicy CreateDefault()

Returns

NumaMemoryPolicy

A new NumaMemoryPolicy instance.