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

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

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

# DeviceProperties

[common]\
data class [DeviceProperties](index.md)(val name: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val kind: [DeviceKind](../DeviceKind/index.md), val driverVersion: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val backendRuntimeVersion: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val smCount: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val computeCapabilityMajor: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val computeCapabilityMinor: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val warpSize: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val maxThreadsPerBlock: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val sharedMemoryPerBlockBytes: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), val totalMemoryBytes: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), val isIntegrated: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), val hasTensorCores: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), val supportsFp16: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), val supportsBf16: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), val supportsFp8E4m3: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), val prefixContinuationBitExact: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), val unavailableReason: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html))

A device's static capabilities (see [Device.properties](../Device/properties.md)). Field meanings are normalized across backends: [smCount](smCount.md) is SMs on CUDA, compute units elsewhere; [warpSize](warpSize.md) is the warp/wave/subgroup width; the compute capability is the CUDA SM version or the nearest generation tag elsewhere. A field the backend does not report is 0 / false / &quot;&quot;. [unavailableReason](unavailableReason.md) is empty when the device serves.

## Constructors

| | |
|---|---|
| [DeviceProperties](DeviceProperties.md) | [common]<br>constructor(name: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), kind: [DeviceKind](../DeviceKind/index.md), driverVersion: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), backendRuntimeVersion: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), smCount: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), computeCapabilityMajor: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), computeCapabilityMinor: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), warpSize: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), maxThreadsPerBlock: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), sharedMemoryPerBlockBytes: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), totalMemoryBytes: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), isIntegrated: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), hasTensorCores: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), supportsFp16: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), supportsBf16: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), supportsFp8E4m3: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), prefixContinuationBitExact: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), unavailableReason: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [backendRuntimeVersion](backendRuntimeVersion.md) | [common]<br>val [backendRuntimeVersion](backendRuntimeVersion.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [computeCapabilityMajor](computeCapabilityMajor.md) | [common]<br>val [computeCapabilityMajor](computeCapabilityMajor.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| [computeCapabilityMinor](computeCapabilityMinor.md) | [common]<br>val [computeCapabilityMinor](computeCapabilityMinor.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| [driverVersion](driverVersion.md) | [common]<br>val [driverVersion](driverVersion.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [hasTensorCores](hasTensorCores.md) | [common]<br>val [hasTensorCores](hasTensorCores.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) |
| [isIntegrated](isIntegrated.md) | [common]<br>val [isIntegrated](isIntegrated.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)<br>The device's memory IS the host's RAM (a Jetson-class part): no separate heap. |
| [kind](kind.md) | [common]<br>val [kind](kind.md): [DeviceKind](../DeviceKind/index.md) |
| [kindName](kindName.md) | [common]<br>val [kindName](kindName.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)<br>[kind](kind.md) as a word. |
| [maxThreadsPerBlock](maxThreadsPerBlock.md) | [common]<br>val [maxThreadsPerBlock](maxThreadsPerBlock.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| [name](name.md) | [common]<br>val [name](name.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [prefixContinuationBitExact](prefixContinuationBitExact.md) | [common]<br>val [prefixContinuationBitExact](prefixContinuationBitExact.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)<br>A prompt's last token yields the same logits whether it is computed inside a multi-row prefill or as a one-token step over a cache that holds the rows before it (true on the CPU; false where the kernel route keys on the row count). |
| [sharedMemoryPerBlockBytes](sharedMemoryPerBlockBytes.md) | [common]<br>val [sharedMemoryPerBlockBytes](sharedMemoryPerBlockBytes.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) |
| [smCount](smCount.md) | [common]<br>val [smCount](smCount.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| [supportsBf16](supportsBf16.md) | [common]<br>val [supportsBf16](supportsBf16.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) |
| [supportsFp16](supportsFp16.md) | [common]<br>val [supportsFp16](supportsFp16.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) |
| [supportsFp8E4m3](supportsFp8E4m3.md) | [common]<br>val [supportsFp8E4m3](supportsFp8E4m3.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) |
| [totalMemoryBytes](totalMemoryBytes.md) | [common]<br>val [totalMemoryBytes](totalMemoryBytes.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) |
| [unavailableReason](unavailableReason.md) | [common]<br>val [unavailableReason](unavailableReason.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [warpSize](warpSize.md) | [common]<br>val [warpSize](warpSize.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |