GPU_OPENCL

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.

Properties

Link copied to clipboard

The backend to try next when this one is unavailable, or null for CPU_ONLY (which is always available) and AUTO (which is resolved by preference order instead).

Link copied to clipboard

true if this backend offloads work to a GPU or NPU (i.e. it is neither CPU_ONLY nor AUTO).

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int