diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-04-13 18:36:40 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-04-13 18:36:48 +0300 |
commit | a3a2a0eda8828b60436e9f69d9ac2c1060d03e7a (patch) | |
tree | 29739497aabd1b60c017c35f7400e3febb36c84a /ggml.h | |
parent | d990e3fffc5b0f5448e90a16c79a4f2675100af0 (diff) |
ggml : add GGML_DEFAULT_N_THREADS
Diffstat (limited to 'ggml.h')
-rw-r--r-- | ggml.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -177,11 +177,12 @@ extern "C" { #include <stddef.h> #include <stdbool.h> -#define GGML_MAX_DIMS 4 -#define GGML_MAX_NODES 4096 -#define GGML_MAX_PARAMS 16 -#define GGML_MAX_CONTEXTS 64 -#define GGML_MAX_OPT 4 +#define GGML_MAX_DIMS 4 +#define GGML_MAX_NODES 4096 +#define GGML_MAX_PARAMS 16 +#define GGML_MAX_CONTEXTS 64 +#define GGML_MAX_OPT 4 +#define GGML_DEFAULT_N_THREADS 4 #ifdef __ARM_NEON // we use the built-in 16-bit float type |