Files
Strata/tools
Niko1221 bc83c088de Fold the trellis MMQ overlay into plain files of the vendored ggml-cuda
The configure-time overlay (cmake/strata_ggml_tq_overlay.cmake) wrote the Gyro
trellis types (TQ2_T, TQK6, TQK7, TQP5-7) into patched copies of ggml-cuda's
headers inside the build tree. They are plain files in
third_party/strata-ggml/ggml/src/ggml-cuda-tq now (patched ggml.h, mmq.cuh,
mmq-load-tiles.cuh, mmq-config-*.cuh; the copies quantize.cu, quantize.cuh,
mmq-vec-dot.cuh; tq.cuh, the tile loader and the six instances), byte for byte
the overlay's output and each listed in UPSTREAM.md; check_vendored.py checks
that the patched files only add lines. The pristine ggml-cuda files stay
untouched, so every regular instance compiles exactly as before. The default
build uses the folder like the overlay dir (first on strata_mmq's include path);
the SHA-256 guard of the MMQ_TAB scheduler is not needed for it. A
-DSTRATA_GGML_DIR build still gets the overlay, reading tq.cuh and the tile
loader from the vendored folder. third_party/ggml-tq is gone.
2026-11-08 14:43:03 +01:00
..