Update ggml.h

Align enum values

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
bmwl 2024-02-15 07:11:28 -08:00 committed by GitHub
parent e237527feb
commit dc828c4556
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

12
ggml.h
View file

@ -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