Class DeviceSelectionCriteria
- Namespace
- DotCompute.Backends.CUDA.DeviceManagement
- Assembly
- DotCompute.Backends.CUDA.dll
Criteria for selecting the best CUDA device.
public sealed class DeviceSelectionCriteria
- Inheritance
-
DeviceSelectionCriteria
- Inherited Members
Properties
MinComputeCapability
Gets or sets the minimum compute capability (major.minor) as a decimal. For example, 7.5 for compute capability 7.5.
public double MinComputeCapability { get; init; }
Property Value
MinComputeCapabilityMajor
Gets the minimum compute capability major.
public int MinComputeCapabilityMajor { get; init; }
Property Value
- int
The minimum compute capability major.
MinComputeCapabilityMinor
Gets the minimum compute capability minor.
public int MinComputeCapabilityMinor { get; init; }
Property Value
- int
The minimum compute capability minor.
MinMemoryBytes
Gets the minimum memory bytes.
public long MinMemoryBytes { get; init; }
Property Value
- long
The minimum memory bytes.
PreferDiscrete
Gets a value indicating whether [prefer discrete].
public bool PreferDiscrete { get; init; }
Property Value
- bool
trueif [prefer discrete]; otherwise,false.
PreferLargeMemory
Gets a value indicating whether [prefer large memory].
public bool PreferLargeMemory { get; init; }
Property Value
- bool
trueif [prefer large memory]; otherwise,false.
PreferLargestMemory
Gets or sets whether to prefer the device with the largest memory.
public bool PreferLargestMemory { get; init; }
Property Value
PreferTensorCores
Gets or sets whether to prefer devices with Tensor Cores.
public bool PreferTensorCores { get; init; }
Property Value
RequireP2P
Gets a value indicating whether [require p2 p].
public bool RequireP2P { get; init; }
Property Value
- bool
trueif [require p2 p]; otherwise,false.
RequireTensorCores
Gets a value indicating whether [require tensor cores].
public bool RequireTensorCores { get; init; }
Property Value
- bool
trueif [require tensor cores]; otherwise,false.
RequireUnifiedMemory
Gets a value indicating whether [require unified memory].
public bool RequireUnifiedMemory { get; init; }
Property Value
- bool
trueif [require unified memory]; otherwise,false.