]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Don't use vdotq_s32 if it's not available (#139)
authorRonsor <redacted>
Tue, 14 Mar 2023 19:34:37 +0000 (12:34 -0700)
committerGitHub <redacted>
Tue, 14 Mar 2023 19:34:37 +0000 (21:34 +0200)
commit47857e564c218a2c38346d0cdd94314632878fcb
treec8b19e714c0e737e267f82b127d4fb7f33459205
parent60f819a2b10475055a36415bc489e5b55df2d052
Don't use vdotq_s32 if it's not available (#139)

* Don't use vdotq_s32 if it's not available

`dotprod` extensions aren't available on some ARM CPUs (e.g. Raspberry Pi 4), so check for them and only use them if they're available.

Reintroduces the code removed in 84d9015 if `__ARM_FEATURE_DOTPROD` isn't defined.

* Update ggml.c

---------

Co-authored-by: Georgi Gerganov <redacted>
ggml.c