Table of Contents

Class AcceleratorSelectionCriteria

Namespace
DotCompute.Abstractions
Assembly
DotCompute.Abstractions.dll

Criteria for selecting an accelerator.

public sealed class AcceleratorSelectionCriteria
Inheritance
AcceleratorSelectionCriteria
Inherited Members

Properties

CustomScorer

Gets or sets a custom scoring function for ranking accelerators.

public Func<IAccelerator, double>? CustomScorer { get; set; }

Property Value

Func<IAccelerator, double>

MinimumComputeCapability

Gets or sets the minimum compute capability.

public Version? MinimumComputeCapability { get; set; }

Property Value

Version

MinimumMemory

Gets or sets the minimum required memory in bytes.

public long? MinimumMemory { get; set; }

Property Value

long?

PreferDedicated

Gets or sets whether to prefer dedicated over integrated devices.

public bool PreferDedicated { get; set; }

Property Value

bool

PreferredType

Gets or sets the preferred accelerator type.

public AcceleratorType? PreferredType { get; set; }

Property Value

AcceleratorType?

RequiredFeatures

Gets or sets the required features.

public AcceleratorFeature? RequiredFeatures { get; set; }

Property Value

AcceleratorFeature?