Package-level declarations

Types

Link copied to clipboard

The GPU add-on: depending on com.donfuldauer:kggml-runtime-vulkan packages ggml's Vulkan backend into the app (Android: libggml-vulkan.so in the APK; JVM desktop on Linux x86_64 and Windows x86_64: a module in the -jvm jar, extracted on first use), and :kggml-runtime registers it when it loads, before any engine runs. Nothing needs to be called: ComputeBackend.GPU_VULKAN and ComputeBackend.AUTO then use the GPU when its Vulkan driver is usable (Android 9+ with Vulkan 1.1+; on desktop any installed Vulkan driver); otherwise the engines stay on the CPU.