//clika-runtime/io.clika.runtime/DeviceProperties
DeviceProperties
[common]
data class DeviceProperties(val name: String, val kind: DeviceKind, val driverVersion: String, val backendRuntimeVersion: String, val smCount: Int, val computeCapabilityMajor: Int, val computeCapabilityMinor: Int, val warpSize: Int, val maxThreadsPerBlock: Int, val sharedMemoryPerBlockBytes: Long, val totalMemoryBytes: Long, val isIntegrated: Boolean, val hasTensorCores: Boolean, val supportsFp16: Boolean, val supportsBf16: Boolean, val supportsFp8E4m3: Boolean, val prefixContinuationBitExact: Boolean, val unavailableReason: String)
A device's static capabilities (see Device.properties). Field meanings are normalized across backends: smCount is SMs on CUDA, compute units elsewhere; warpSize 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 / "". unavailableReason is empty when the device serves.
Constructors
| DeviceProperties | [common] constructor(name: String, kind: DeviceKind, driverVersion: String, backendRuntimeVersion: String, smCount: Int, computeCapabilityMajor: Int, computeCapabilityMinor: Int, warpSize: Int, maxThreadsPerBlock: Int, sharedMemoryPerBlockBytes: Long, totalMemoryBytes: Long, isIntegrated: Boolean, hasTensorCores: Boolean, supportsFp16: Boolean, supportsBf16: Boolean, supportsFp8E4m3: Boolean, prefixContinuationBitExact: Boolean, unavailableReason: String) |