fixed ggml_init_numa variable

This commit is contained in:
root 2024-02-08 22:00:35 +00:00
parent c2c31660a5
commit e107c4cd54

2
ggml.c
View file

@ -1960,7 +1960,7 @@ static cpu_set_t ggml_get_numa_affinity(void) {
return cpuset; return cpuset;
} }
void ggml_numa_init(uint32_t numa_flag) { void ggml_numa_init(enum ggml_numa_strategies numa_flag) {
if (g_state.numa.n_nodes > 0) { if (g_state.numa.n_nodes > 0) {
fprintf(stderr, "ggml_numa_init: NUMA already initialized\n"); fprintf(stderr, "ggml_numa_init: NUMA already initialized\n");