]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml : add run-time detection of neon, i8mm and sve (#9331)
authorDan Johansson <redacted>
Sat, 28 Sep 2024 12:06:16 +0000 (14:06 +0200)
committerGitHub <redacted>
Sat, 28 Sep 2024 12:06:16 +0000 (15:06 +0300)
commit6a0f7794847244fb3b99a983e03137d7e832b585
treeb57419c73f451560d8182dfa4278bd7c56133118
parent89f9944981010d195e411a9fbfbb19959412f710
ggml : add run-time detection of neon, i8mm and sve (#9331)

* ggml: Added run-time detection of neon, i8mm and sve

Adds run-time detection of the Arm instructions set features
neon, i8mm and sve for Linux and Apple build targets.

* ggml: Extend feature detection to include non aarch64 Arm arch

* ggml: Move definition of ggml_arm_arch_features to the global data section
ggml/include/ggml.h
ggml/src/ggml-aarch64.c
ggml/src/ggml-quants.c
ggml/src/ggml-quants.h
ggml/src/ggml.c