---
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)/[DeviceMemory](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 as the library labels it, `<Api>:<index>` (`CPU:-1` for the whole machine's cpu, `CUDA:0`).