MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_vec_sum_i32_ggf

Function ggml_vec_sum_i32_ggf

ggml.c:1546–1552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1544}
1545
1546inline 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
1555inline static void ggml_vec_max_f32(const int n, float * s, const float * x) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected