//clika-runtime/io.clika.modelverse/BackendReport
BackendReport
[common]
data class BackendReport(val api: String, val compiled: Boolean, val available: Boolean, val deviceCount: Int, val unavailableReason: String, val devices: List<DeviceReport>)
One compute backend of the runtime, as the hardware inventory lists it.
Constructors
| BackendReport | [common] constructor(api: String, compiled: Boolean, available: Boolean, deviceCount: Int, unavailableReason: String, devices: List<DeviceReport>) |
Properties
| Name | Summary |
|---|---|
| api | [common] val api: String The compute API's name ( CPU, CUDA, Vulkan, Metal). |
| available | [common] val available: Boolean True when the backend loaded and found a device. |
| compiled | [common] val compiled: Boolean True when this runtime build carries the backend. |
| deviceCount | [common] val deviceCount: Int |
| devices | [common] val devices: List<DeviceReport> |
| unavailableReason | [common] val unavailableReason: String Why the backend is not available, empty when it is. |