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

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

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

# device

[common]\
val [device](device.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)

The device the weights landed on, as the compute API's name (`CPU`; an accelerator among several carries its ordinal, `CUDA:1`).