BackendInfo
data class BackendInfo(val backend: ComputeBackend, val name: String, val compiled: Boolean, val available: Boolean, val deviceCount: Int)(source)
One hardware backend known to the native runtime, as reported by kggml_runtime_get_backends().
Constructors
Link copied to clipboard
constructor(backend: ComputeBackend, name: String, compiled: Boolean, available: Boolean, deviceCount: Int)
Properties
Link copied to clipboard
the ComputeBackend this entry describes (never ComputeBackend.AUTO).
Link copied to clipboard
number of ggml devices backing this backend (always 0 for ComputeBackend.NPU_COREML, which is a compile-time capability flag rather than a ggml device).