From 80e78cea127326fc0dcf33b63641acb20a77b3af Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Thu, 14 Dec 2023 14:00:11 +0200 Subject: [PATCH] tests : fix sizey -> sizez --- examples/benchmark/benchmark-matmult.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/benchmark/benchmark-matmult.cpp b/examples/benchmark/benchmark-matmult.cpp index 475830950..434e1d6bd 100644 --- a/examples/benchmark/benchmark-matmult.cpp +++ b/examples/benchmark/benchmark-matmult.cpp @@ -131,7 +131,7 @@ int main(int argc, char ** argv) { size_t ctx_size = 0; ctx_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey); ctx_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey); - ctx_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey); + ctx_size += ggml_row_size(GGML_TYPE_F32, sizex*sizez); ctx_size += ggml_row_size(qtype, sizex*sizey); ctx_size += ggml_row_size(qtype, sizex*sizey); ctx_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey); // BLAS