Update ggml.c
simplified return for platforms without NUMA support Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
This commit is contained in:
parent
da652113f1
commit
7d1f026a58
1 changed files with 1 additions and 2 deletions
3
ggml.c
3
ggml.c
|
@ -2008,8 +2008,7 @@ static cpu_set_t ggml_get_numa_affinity(void) {
|
|||
}
|
||||
#else
|
||||
static uint32_t ggml_get_numa_affinity(void) {
|
||||
uint32_t cpuset = 0;
|
||||
return cpuset; // No NUMA support outside of Linux, so return a safe datatype set to zero
|
||||
return 0; // no NUMA support
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue