whisper.cpp/ggml/include
Ruben Ortlam d9589688cb llama: add default load-mode auto, which avoids mmap on iGPUs (llama/26081)
* llama: add new default load-mode auto which picks mmap unless a non-Metal iGPU is used

* Update ggml/src/ggml-hexagon/ggml-hexagon.cpp

Co-authored-by: Max Krasnyansky <maxk@qti.qualcomm.com>

* set mmap_support to false on OpenCL backend

* fix order of load modes

* use -1 for auto

* resolve load mode auto earlier to correctly pick gpu host or cpu memory

* add load mode auto to llama-bench

* bump virtgpu api version, regenerate docs

---------

Co-authored-by: Piotr Wilkin (ilintar) <piotr.wilkin@syndatis.com>
Co-authored-by: Max Krasnyansky <maxk@qti.qualcomm.com>
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2026-08-14 22:16:06 +03:00
..
ggml-alloc.h TP: fix entirely zero-sized slices per device (llama/23525) 2026-05-25 12:26:07 +03:00
ggml-backend.h llama: add default load-mode auto, which avoids mmap on iGPUs (llama/26081) 2026-08-14 22:16:06 +03:00
ggml-blas.h ggml : build backends as libraries (llama/10256) 2024-11-20 21:00:08 +02:00
ggml-cann.h docs : Minor cleanups (llama/19252) 2026-02-08 09:29:10 +02:00
ggml-cpp.h ggml : fix ggml_gallocr_ptr type (ggml/1205) 2025-05-01 13:29:02 +03:00
ggml-cpu.h sync : ggml (#3962) 2026-07-31 09:11:28 +02:00
ggml-cuda.h CUDA: remove -sm row, refactor cuBLAS (llama/24216) 2026-07-10 13:06:42 +03:00
ggml-et.h sync : ggml (#3962) 2026-07-31 09:11:28 +02:00
ggml-hexagon.h Add experimental ggml-hexagon backend for the Hexagon NPU (llama/16547) 2025-11-09 23:38:03 +02:00
ggml-metal.h metal : refactor + optimize v2 (llama/15995) 2025-09-20 13:46:10 +03:00
ggml-opencl.h Introducing experimental OpenCL backend with support for Qualcomm Adreno GPUs (llama/10693) 2024-12-18 12:52:16 +02:00
ggml-openvino.h ggml : add OpenVINO backend (llama/15307) 2026-03-16 13:10:15 +02:00
ggml-opt.h chore : correct typos [no ci] (llama/20041) 2026-03-16 13:10:15 +02:00
ggml-rpc.h sync : ggml (#3962) 2026-07-31 09:11:28 +02:00
ggml-sycl.h sycl : support --split-mode tensor (llama/24152) 2026-06-26 16:03:57 +03:00
ggml-virtgpu.h ggml-virtgpu: make the code thread safe (llama/19204) 2026-02-08 09:29:10 +02:00
ggml-vulkan.h vulkan: Make Vulkan optional at runtime (ggml/11493). (llama/11494) 2025-02-27 08:55:36 +02:00
ggml-webgpu.h ggml: Add initial WebGPU backend (llama/14521) 2025-07-20 00:23:50 +03:00
ggml-zdnn.h zdnn: refactor codebase + add docs (llama/16178) 2025-09-29 15:18:09 +03:00
ggml-zendnn.h ggml-zendnn : add ZenDNN backend for AMD CPUs (llama/17690) 2025-12-12 17:53:21 +02:00
ggml.h mtmd/ggml: add ggml_build_forward_order (llama/26649) 2026-08-07 21:59:49 +03:00
gguf.h sync : ggml (#3962) 2026-07-31 09:11:28 +02:00