]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml : android and old glibc NUMA incompatibility bugfixes (#5557)
authorbmwl <redacted>
Mon, 19 Feb 2024 07:38:32 +0000 (23:38 -0800)
committerGitHub <redacted>
Mon, 19 Feb 2024 07:38:32 +0000 (09:38 +0200)
commitf0d1fafc029a056cd765bdae58dcaa12312e9879
tree6d8d8db49159ef95888c5facd9d0b07f94eb8cf5
parenta0c2dad9d43456c677e205c6240a5f8afb0121ac
ggml : android and old glibc NUMA incompatibility bugfixes (#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>
ggml.c