]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml : android and old glibc NUMA incompatibility bugfixes (llama/5557)
authorbmwl <redacted>
Mon, 19 Feb 2024 07:38:32 +0000 (23:38 -0800)
committerGeorgi Gerganov <redacted>
Mon, 19 Feb 2024 13:52:51 +0000 (15:52 +0200)
commit1aaa2afba0f0440fc2667a07eb25f01476076cb1
treed055926adae539272085e69921de1f5c180ca72a
parent673b6d1921512c210b11112a471e17ad785b54db
ggml : android and old glibc NUMA incompatibility bugfixes (llama/5557)

* #ifdef out some code NUMA blocks for Android due to lack of support

* added in some __ANDROID__ if def gates around numa code and forced GLIBC prior to 2.29 to use a syscall for getcpu instead of the wrapper

* Changed gates on numa platform specific stuff to __gnu_linux__ to skip any platforms without glibc

* harmonizing #if defined blocks for numa code to __gnu_linux__ since that's the only model that's being followed anyways

---------

Co-authored-by: root <redacted>
src/ggml.c