ggml-cpu : fix CPU affinity mask being ignored on Android (llama/26838)
This commit is contained in:
parent
b3bc904638
commit
830ec22572
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue