MCPcopy Create free account
hub / github.com/antirez/ds4 / model_map_span_vec_total_bytes

Function model_map_span_vec_total_bytes

ds4.c:4391–4401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4389 }
4390 }
4391
4392 return sumf;
4393}
4394
4395static float ds4_vec_dot_q6_K_f32(int n, const block_q6_K *x, const float *y) {
4396 const int nb = n / QK_K;
4397 float sumf = 0.0f;
4398
4399 for (int i = 0; i < nb; i++) {
4400 const float d = f16_to_f32(x[i].d);
4401 const uint8_t *ql = x[i].ql;
4402 const uint8_t *qh = x[i].qh;
4403 const int8_t *scales = x[i].scales;
4404 const float *yb = y + (uint64_t)i * QK_K;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected