//clika-runtime/io.clika.modelverse/DeviceReport
DeviceReport
[common]
data class DeviceReport(val index: Int, val name: String, val totalMemoryBytes: Long)
One compute device of a backend, as the hardware inventory lists it.
Constructors
| DeviceReport | [common] constructor(index: Int, name: String, totalMemoryBytes: Long) |
Properties
| Name | Summary |
|---|---|
| index | [common] val index: Int The device's ordinal under its backend ( CUDA:1 is index 1). |
| name | [common] val name: String |
| totalMemoryBytes | [common] val totalMemoryBytes: Long The device's physical memory in bytes; 0 when the backend does not report it. |