mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-13 20:14:29 +00:00
ggml : no cpu_set_t on Android
This commit is contained in:
parent
4cb0727698
commit
e9caab61a2
2
ggml.c
2
ggml.c
@ -1959,7 +1959,7 @@ struct ggml_numa_nodes {
|
||||
uint32_t n_nodes;
|
||||
uint32_t total_cpus; // hardware threads on system
|
||||
uint32_t current_node; // node on which main process is execting
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) && !defined(__ANDROID__)
|
||||
cpu_set_t cpuset; // cpuset from numactl
|
||||
#else
|
||||
uint32_t cpuset; // no NUMA support outside of Linux at this time. Use a portable datatype
|
||||
|
Loading…
Reference in New Issue
Block a user