Table of Contents

Enum DeviceHealthStatus

Namespace
DotCompute.Abstractions.Health
Assembly
DotCompute.Abstractions.dll

Defines the health status levels for compute devices.

public enum DeviceHealthStatus

Fields

Critical = 3

Device is in critical condition with significant health concerns. Health score typically 0.5-0.7. Examples: High temperature, frequent throttling, elevated error rate.

Error = 5

Device is in an error state and requires recovery action. Health score typically less than 0.5. Examples: Driver crash, hardware fault, communication failure.

Healthy = 1

Device is operating normally with no issues detected. Health score typically > 0.9.

Offline = 4

Device is offline or unresponsive. Health score = 0.0. Requires intervention (driver reset, hardware check, etc.).

Unknown = 0

Health status is unknown or could not be determined.

Warning = 2

Device is operational but showing signs of stress or degradation. Health score typically 0.7-0.9. Examples: Elevated temperature, increased errors, minor throttling.