Spaces:
Running
Running
ggml : minor type fix (int64_t -> size_t)
Browse files
ggml.c
CHANGED
|
@@ -9970,7 +9970,7 @@ static void ggml_compute_forward_mul_mat(
|
|
| 9970 |
#if defined(GGML_USE_ACCELERATE) || defined(GGML_USE_OPENBLAS)
|
| 9971 |
if (ggml_compute_forward_mul_mat_use_blas(dst)) {
|
| 9972 |
const int64_t ne_plane = ne01*ne00;
|
| 9973 |
-
const
|
| 9974 |
UNUSED(desired_wsize);
|
| 9975 |
|
| 9976 |
if (params->type == GGML_TASK_INIT) {
|
|
|
|
| 9970 |
#if defined(GGML_USE_ACCELERATE) || defined(GGML_USE_OPENBLAS)
|
| 9971 |
if (ggml_compute_forward_mul_mat_use_blas(dst)) {
|
| 9972 |
const int64_t ne_plane = ne01*ne00;
|
| 9973 |
+
const size_t desired_wsize = ne13*ne12*ne_plane*sizeof(float);
|
| 9974 |
UNUSED(desired_wsize);
|
| 9975 |
|
| 9976 |
if (params->type == GGML_TASK_INIT) {
|