ComputeBackend
The compute backend an engine executes on.
Engines receive the requested backend through BackendConfig.backend and resolve it against the backends actually available on the current device/build with resolve before initializing native state.
Entries
Let the engine pick the best available backend (see AUTO_PREFERENCE_ORDER).
Vulkan GPU (Android, Linux, Windows).
Apple Neural Engine via Core ML (iOS Whisper encoder). Falls back to Metal, then CPU.
OpenCL GPU (Android, from the optional kggml-runtime-opencl add-on; ggml's OpenCL backend is tuned for Qualcomm Adreno). Falls back to the CPU.
Types
Constants and factory functions of ComputeBackend.
Companion properties
Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.
Companion functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.