//clika-runtime/io.clika.runtime/Device/Companion
Companion
[jvm]
object Companion
Properties
| Name | Summary |
|---|---|
| CPU | [jvm] val CPU: Device The host CPU. |
Functions
| Name | Summary |
|---|---|
| cuda | [jvm] fun cuda(index: Int = 0): Device cuda:0-style shorthand for the CUDA api. |
| parse | [jvm] fun parse(text: String): Device Parse "cpu", "cuda", "cuda:1", "vulkan:0", "metal", "htp", or "tpu" (an absent index means 0). |