ggml-cpu : rework weak alias on apple targets (#14146)

* ggml-cpu : rework weak alias on apple targets

* fix powerpc detection

* fix ppc detection

* fix powerpc detection on darwin
This commit is contained in:
xctan
2025-06-16 13:54:15 +08:00
committed by GitHub
parent d7da8dc83a
commit 3555b3004b
7 changed files with 99 additions and 47 deletions

View File

@ -8,6 +8,10 @@
#include "ggml-cpu-impl.h"
#include "traits.h"
#if defined(__APPLE__)
#include "apple-fallback.h"
#endif
#include <cmath>
#include <cstring>
#include <cassert>