---
title: "BackendReport"
sidebar_label: "BackendReport"
description: "Kotlin binding reference: BackendReport."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[BackendReport](index.md)

# BackendReport

[common]\
data class [BackendReport](index.md)(val api: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val compiled: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), val available: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), val deviceCount: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val unavailableReason: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val devices: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[DeviceReport](../DeviceReport/index.md)&gt;)

One compute backend of the runtime, as the hardware inventory lists it.

## Constructors

| | |
|---|---|
| [BackendReport](BackendReport.md) | [common]<br>constructor(api: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), compiled: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), available: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), deviceCount: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), unavailableReason: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), devices: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[DeviceReport](../DeviceReport/index.md)&gt;) |

## Properties

| Name | Summary |
|---|---|
| [api](api.md) | [common]<br>val [api](api.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)<br>The compute API's name (`CPU`, `CUDA`, `Vulkan`, `Metal`). |
| [available](available.md) | [common]<br>val [available](available.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)<br>True when the backend loaded and found a device. |
| [compiled](compiled.md) | [common]<br>val [compiled](compiled.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)<br>True when this runtime build carries the backend. |
| [deviceCount](deviceCount.md) | [common]<br>val [deviceCount](deviceCount.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| [devices](devices.md) | [common]<br>val [devices](devices.md): [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[DeviceReport](../DeviceReport/index.md)&gt; |
| [unavailableReason](unavailableReason.md) | [common]<br>val [unavailableReason](unavailableReason.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)<br>Why the backend is not available, empty when it is. |