]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ggml-cpu : fix CPU affinity mask being ignored on Android (#26838)
authorHitesh Chopra <redacted>
Mon, 10 Aug 2026 12:13:40 +0000 (17:43 +0530)
committerGitHub <redacted>
Mon, 10 Aug 2026 12:13:40 +0000 (15:13 +0300)
ggml/src/ggml-cpu/ggml-cpu.c

index 491316f7491252248d6f74a60440d3efa7aa6177..7918845cca0848ad27655fe243b4c1f9ba14d7c8 100644 (file)
@@ -2608,7 +2608,7 @@ static bool ggml_thread_apply_priority(int32_t prio) {
     return true;
 }
 
-#elif defined(__gnu_linux__)
+#elif defined(__linux__)
 // TODO: this may not work on BSD, to be verified
 
 static bool ggml_thread_apply_affinity(const bool * mask) {