mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-07-14 11:17:40 +00:00
* Remove broken kompute submodule (ghost - nulled config, corrupted tracking)
The kompute submodule at ggml/src/kompute had its .git/modules/kompute/config
completely zeroed out (null bytes). The submodule was non-functional and is
not used in this fork. Removed:
- .gitmodules entry
- .git/config [submodule kompute] section
- .git/modules/kompute directory
- ggml/src/kompute working tree
* Extensive removal of all Kompute code and references
Removed the entire Kompute Vulkan compute backend which was
unmaintained and superseded by the Vulkan backend:
Files deleted:
- ggml/src/ggml-kompute.cpp (Vulkan compute backend implementation)
- ggml/include/ggml-kompute.h (header)
- ggml/src/kompute-shaders/ (34 SPIR-V shader source files)
Build system:
- ggml/CMakeLists.txt: removed GGML_KOMPUTE option
- ggml/src/CMakeLists.txt: removed compile_shader function, submodule
add, shader compilation, stamp targets, and all KOMPUTE source refs
- CMakeLists.txt: removed LLAMA_KOMPUTE deprecation alias
Source code:
- ggml/src/ggml-backend.cpp: removed kompute reg decl and call
- ggml/include/ggml.h: removed ggml_cpu_has_kompute() declaration
- ggml/src/ggml.c: removed ggml_cpu_has_kompute() implementation
and its reference in ggml_cpu_has_gpublas()
- src/llama.cpp: removed #include, backend init, buffer type, model
loading guard, and GPU offload check for Kompute
- src/llama-model-loader.cpp: removed kompute include
- common/common.cpp: removed cpu_has_kompute print
- tests/test-c.c: removed kompute include guard
- examples/llama-bench/llama-bench.cpp: removed kompute member,
construction, field serialization, and display string
- scripts/compare-llama-bench.py: removed kompute from key props,
bool props, and pretty names
- scripts/sync-ggml.sh: removed kompute file copy lines
- scripts/sync-ggml-am.sh: removed kompute path mappings
Git submodule:
- .gitmodules: removed kompute entry
- .git/config: removed [submodule kompute] section
- .git/modules/kompute: removed
- ggml/src/kompute: removed (working tree)