| 3241 | static void dsv4_fp8_kv_quantize_row_inplace_cpu(float *x, uint32_t head_dim, uint32_t n_rot) { |
| 3242 | const uint32_t n_nope = head_dim - n_rot; |
| 3243 | for (uint32_t off = 0; off < n_nope; off += 64) { |
| 3244 | float amax = 0.0f; |
| 3245 | for (uint32_t i = 0; i < 64; i++) { |
| 3246 | const float av = fabsf(x[off + i]); |
| 3247 | if (av > amax) amax = av; |
| 3248 | } |
| 3249 |
no test coverage detected