| 1528 | } |
| 1529 | |
| 1530 | inline static void ggml_vec_sum_f32_ggf(const int n, ggml_float * s, const float * x) { |
| 1531 | ggml_float sum = 0.0; |
| 1532 | for (int i = 0; i < n; ++i) { |
| 1533 | sum += (ggml_float)x[i]; |
| 1534 | } |
| 1535 | *s = sum; |
| 1536 | } |
| 1537 | |
| 1538 | inline static void ggml_vec_sum_f16_ggf(const int n, float * s, const ggml_fp16_t * x) { |
| 1539 | float sum = 0.0f; |
no outgoing calls
no test coverage detected