Update ggml.c

This commit is contained in:
Julia Longtin 2024-03-16 14:17:21 +00:00 committed by GitHub
parent e216a2f133
commit eac00a72d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

1
ggml.c
View file

@ -1334,7 +1334,6 @@ inline static void ggml_vec_neg_f32 (const int n, float * y, const float * x)
inline static void ggml_vec_mul_f32 (const int n, float * z, const float * x, const float * y) { for (int i = 0; i < n; ++i) z[i] = x[i]*y[i]; }
inline static void ggml_vec_div_f32 (const int n, float * z, const float * x, const float * y) { for (int i = 0; i < n; ++i) z[i] = x[i]/y[i]; }
static void ggml_vec_dot_f32(int n, float * restrict s, size_t bs, const float * restrict x, size_t bx, const float * restrict y, size_t by, int nrc) {
assert(nrc == 1);
UNUSED(nrc);