From 47c662b0de47a9e4a2e310c933f81c767e79f684 Mon Sep 17 00:00:00 2001 From: Pierrick HYMBERT Date: Sun, 18 Feb 2024 21:04:04 +0100 Subject: [PATCH] fix some spaces added by IDE in math op ggml-ci --- examples/benchmark/benchmark-matmult.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/benchmark/benchmark-matmult.cpp b/examples/benchmark/benchmark-matmult.cpp index 79fb5a94d..ff8164ac5 100644 --- a/examples/benchmark/benchmark-matmult.cpp +++ b/examples/benchmark/benchmark-matmult.cpp @@ -129,16 +129,16 @@ int main(int argc, char ** argv) { const ggml_type qtype = GGML_TYPE_Q4_1; size_t kv_size = 0; - kv_size += ggml_row_size(GGML_TYPE_F32, sizex * sizey); - kv_size += ggml_row_size(GGML_TYPE_F32, sizex * sizey); - kv_size += ggml_row_size(GGML_TYPE_F32, sizex * sizez); - kv_size += ggml_row_size(qtype, sizex * sizey); - kv_size += ggml_row_size(qtype, sizex * sizey); - kv_size += ggml_row_size(GGML_TYPE_F32, sizex * sizey); // BLAS - kv_size += ggml_row_size(GGML_TYPE_F32, sizex * sizey); // BLAS - kv_size += 1024 * 1024 * 16; + kv_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey); + kv_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey); + kv_size += ggml_row_size(GGML_TYPE_F32, sizex*sizez); + kv_size += ggml_row_size(qtype, sizex*sizey); + kv_size += ggml_row_size(qtype, sizex*sizey); + kv_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey); // BLAS + kv_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey); // BLAS + kv_size += 1024*1024*16; - printf("Allocating Memory of size %zi bytes, %zi MB\n", kv_size, (kv_size / 1024 / 1024)); + printf("Allocating Memory of size %zi bytes, %zi MB\n", kv_size, (kv_size/1024/1024)); struct ggml_init_params params = { /*.mem_size =*/ kv_size,