ggml : try another fix

This commit is contained in:
Georgi Gerganov 2024-02-17 18:14:35 +02:00
parent e9caab61a2
commit 974e3cadff
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

2
ggml.c
View File

@ -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
#if defined(__linux__) && !defined(__ANDROID__)
#if defined(__linux__) && !defined(BIONIC)
cpu_set_t cpuset; // cpuset from numactl
#else
uint32_t cpuset; // no NUMA support outside of Linux at this time. Use a portable datatype