]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml-cpu : add check for ARM MATMUL_INT8/i8mm support (llama/15922)
authorDaniel Bevenius <redacted>
Thu, 11 Sep 2025 13:39:12 +0000 (15:39 +0200)
committerGeorgi Gerganov <redacted>
Sat, 20 Sep 2025 10:33:50 +0000 (13:33 +0300)
commit9902604df05733b425a12d389acea0617b69f196
tree9bf953b128f7a816a344d80926f3e707173c54f3
parent9d85e5424f8b65439e5b8c121e63e2be9116566d
ggml-cpu : add check for ARM MATMUL_INT8/i8mm support (llama/15922)

This commit adds a check for GGML_MACHINE_SUPPORTS_i8mm when enabling
MATMUL_INT8 features, ensuring that i8mm intrinsics are only used when
the target hardware actually supports them.

The motivation for this is to fix ggml CI build failures where the
feature detection correctly identifies that i8mm is not supported,
adding the +noi8mm flag, but MATMUL_INT8 preprocessor definitions are
still enabled, causing the compiler to attempt to use vmmlaq_s32
intrinsics without i8mm support.

Refs: https://github.com/ggml-org/ggml/actions/runs/17525174120/job/49909199499
src/ggml-cpu/CMakeLists.txt