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

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

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Backends](index.md)/[devices](devices.md)

# devices

[common]\
fun [devices](devices.md)(api: [ComputeApi](../ComputeApi/index.md)): [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[Device](../Device/index.md)&gt;

The devices the backend exposes here, in index order; empty when the backend is unavailable (a valid answer, not an error).