From dc828c4556d6d249cf473fb87ae6462b897e93a7 Mon Sep 17 00:00:00 2001 From: bmwl Date: Thu, 15 Feb 2024 07:11:28 -0800 Subject: [PATCH] Update ggml.h Align enum values Co-authored-by: Georgi Gerganov --- ggml.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ggml.h b/ggml.h index 5f59fb531..ad65222fa 100644 --- a/ggml.h +++ b/ggml.h @@ -659,13 +659,13 @@ extern "C" { }; // numa strategies - enum ggml_numa_strategies { - GGML_NUMA_STRATEGY_DISABLED = 0, + enum ggml_numa_strategy { + GGML_NUMA_STRATEGY_DISABLED = 0, GGML_NUMA_STRATEGY_DISTRIBUTE = 1, - GGML_NUMA_STRATEGY_ISOLATE = 2, - GGML_NUMA_STRATEGY_NUMACTL = 3, - GGML_NUMA_STRATEGY_MIRROR = 4, - GGML_NUMA_STRATEGY_MAX_VALUE = GGML_NUMA_STRATEGY_MIRROR, + GGML_NUMA_STRATEGY_ISOLATE = 2, + GGML_NUMA_STRATEGY_NUMACTL = 3, + GGML_NUMA_STRATEGY_MIRROR = 4, + GGML_NUMA_STRATEGY_COUNT }; // misc