From adc099edeeb70666b063b3e40bbbed1d63eb01f5 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 28 Jan 2024 18:44:58 +0200 Subject: [PATCH] ggml : minor type fix (int64_t -> size_t) --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index 11a3114e..cf433e9b 100644 --- a/ggml.c +++ b/ggml.c @@ -9970,7 +9970,7 @@ static void ggml_compute_forward_mul_mat( #if defined(GGML_USE_ACCELERATE) || defined(GGML_USE_OPENBLAS) if (ggml_compute_forward_mul_mat_use_blas(dst)) { const int64_t ne_plane = ne01*ne00; - const int64_t desired_wsize = ne13*ne12*ne_plane*sizeof(float); + const size_t desired_wsize = ne13*ne12*ne_plane*sizeof(float); UNUSED(desired_wsize); if (params->type == GGML_TASK_INIT) {