summaryrefslogtreecommitdiff
path: root/common/common.cpp
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-03-22 09:36:03 +0200
committerGitHub <noreply@github.com>2024-03-22 09:36:03 +0200
commit95d576b48ebf582b112d1c9cf4eed7142fa4e464 (patch)
tree1e298e73e8e8de5d7f93d78272f44630fa7198cb /common/common.cpp
parent59c17f02de8fdf7b084d6100b875b7e2bc07a83b (diff)
metal : pad n_ctx by 32 (#6177)
* metal : require ne00 >= 128 for mat-mat kernels ggml-ci * llama : pad n_ctx by 32 ggml-ci
Diffstat (limited to 'common/common.cpp')
-rw-r--r--common/common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/common.cpp b/common/common.cpp
index 11bf554d..cc230c9f 100644
--- a/common/common.cpp
+++ b/common/common.cpp
@@ -101,7 +101,7 @@ int32_t get_num_physical_cores() {
return n_threads > 0 ? (n_threads <= 4 ? n_threads : n_threads / 2) : 4;
}
-void process_escapes(std::string& input) {
+void process_escapes(std::string & input) {
std::size_t input_len = input.length();
std::size_t output_idx = 0;