diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2024-01-28 18:44:58 +0200 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2024-01-28 19:47:31 +0200 |
commit | d460510c7222d43a458a17e01d4bbe72437cdd3c (patch) | |
tree | 98c8bb07fd90346dd65757e31b0a3cbf7a0d483f | |
parent | 2307523d322af762ae06648b29ec5a9eb1c73032 (diff) |
ggml : minor type fix (int64_t -> size_t)
-rw-r--r-- | ggml.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9978,7 +9978,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) { |