]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/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:53:24 +0000 (15:53 +0200)
commit30a11b1ab878f6234d063344be116c0a958904a7
tree8d1f78331253cd66296cfcb42963035b363a6ae5
parentf04e6b87d7fe34963d6daacd349a03c991e32fef
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>
ggml.c