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
MinimumComputeCapability
Gets or sets the minimum compute capability.
public Version? MinimumComputeCapability { get; set; }
Property Value
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
PreferredType
Gets or sets the preferred accelerator type.
public AcceleratorType? PreferredType { get; set; }
Property Value
RequiredFeatures
Gets or sets the required features.
public AcceleratorFeature? RequiredFeatures { get; set; }