Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Georgi Gerganov
974e3cadff
ggml : try another fix 2024-02-17 18:14:35 +02:00
Georgi Gerganov
e9caab61a2
ggml : no cpu_set_t on Android 2024-02-17 17:50:39 +02:00

2
ggml.c
View file

@ -1959,7 +1959,7 @@ struct ggml_numa_nodes {
uint32_t n_nodes; uint32_t n_nodes;
uint32_t total_cpus; // hardware threads on system uint32_t total_cpus; // hardware threads on system
uint32_t current_node; // node on which main process is execting uint32_t current_node; // node on which main process is execting
#ifdef __linux__ #if defined(__linux__) && !defined(BIONIC)
cpu_set_t cpuset; // cpuset from numactl cpu_set_t cpuset; // cpuset from numactl
#else #else
uint32_t cpuset; // no NUMA support outside of Linux at this time. Use a portable datatype uint32_t cpuset; // no NUMA support outside of Linux at this time. Use a portable datatype