| 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; |
| 1540 | for (int i = 0; i < n; ++i) { |
| 1541 | sum += GGML_FP16_TO_FP32(x[i]); |
| 1542 | } |
| 1543 | *s = sum; |
| 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; |
no outgoing calls
no test coverage detected