| 1544 | } |
| 1545 | |
| 1546 | inline static void ggml_vec_sum_i32_ggf(const int n, int64_t * s, const int32_t * x) { |
| 1547 | int64_t sum = 0; |
| 1548 | for (int i = 0; i < n; ++i) { |
| 1549 | sum += (int64_t)x[i]; |
| 1550 | } |
| 1551 | *s = sum; |
| 1552 | } |
| 1553 | |
| 1554 | |
| 1555 | inline static void ggml_vec_max_f32(const int n, float * s, const float * x) { |
no outgoing calls
no test coverage detected