Table of Contents

Enum DeviceStatus

Namespace
Orleans.GpuBridge.Abstractions.Enums
Assembly
Orleans.GpuBridge.Abstractions.dll

Represents the current operational status of a compute device. This enumeration provides insight into device availability and health, enabling applications to make informed decisions about device selection and workload distribution.

public enum DeviceStatus

Fields

Available = 0

The device is available and ready to accept new work. This is the normal operational state where the device can be used for kernel execution and memory operations.

Busy = 1

The device is currently busy executing work. While busy, the device may still accept additional work that will be queued, but performance may be impacted due to resource contention.

Error = 3

The device has encountered an error condition. This indicates that the device experienced a failure during operation and may require reset or recovery procedures before it can be used again.

Offline = 2

The device is offline or not responding. This may indicate hardware issues, driver problems, or that the device has been disabled. The device should not be used until it returns to an Available status.

Resetting = 4

The device is currently being reset. During reset operations, the device is temporarily unavailable and all existing contexts and queues may be invalidated. Applications should wait for the device to return to Available status.

Unknown = 5

The device status is unknown or could not be determined. This may occur during system initialization or when communication with the device is temporarily unavailable. Applications should use caution when working with devices in this state.