Package-level declarations

Types

Link copied to clipboard
data class BackendInfo(val backend: ComputeBackend, val name: String, val compiled: Boolean, val available: Boolean, val deviceCount: Int)

One hardware backend known to the native runtime, as reported by kggml_runtime_get_backends().

Link copied to clipboard

Kotlin entry point to the shared native ggml runtime (kggml_runtime.h).

Link copied to clipboard

A reference on the process-wide native runtime obtained from KggmlRuntime.acquire.

Link copied to clipboard
data class RuntimeInfo(val runtimeVersion: String, val ggmlVersion: String, val ggmlCommit: String, val ggmlBuildCommit: String, val hasCoreMl: Boolean, val cpuBackendVariant: String? = null)

Version metadata of the loaded native runtime.