Table of Contents

Class OptimizationPreferences

Namespace
DotCompute.Backends.CPU.Threading.NUMA
Assembly
DotCompute.Backends.CPU.dll

Optimization preferences and settings.

public sealed record OptimizationPreferences : IEquatable<OptimizationPreferences>
Inheritance
OptimizationPreferences
Implements
Inherited Members

Properties

AllowAggressiveAffinity

Gets or sets the allow aggressive affinity.

public required bool AllowAggressiveAffinity { get; init; }

Property Value

bool

The allow aggressive affinity.

EnableMemoryInterleaving

Gets or sets the enable memory interleaving.

public required bool EnableMemoryInterleaving { get; init; }

Property Value

bool

The enable memory interleaving.

PreferredStrategy

Gets or sets the preferred strategy.

public required NumaOptimizationStrategy PreferredStrategy { get; init; }

Property Value

NumaOptimizationStrategy

The preferred strategy.

PrioritizeLatency

Gets or sets the prioritize latency.

public required bool PrioritizeLatency { get; init; }

Property Value

bool

The prioritize latency.

PrioritizeThroughput

Gets or sets the prioritize throughput.

public required bool PrioritizeThroughput { get; init; }

Property Value

bool

The prioritize throughput.