| 199 | std::string x16k(const std::string& k) { return metal_f16() ? k + "#h" : k; } |
| 200 | |
| 201 | int xkind(int t) { |
| 202 | switch (t) { |
| 203 | case ref::Q2_0: return 1; |
| 204 | case ref::Q4_K: case ref::Q5_K: return 2; |
| 205 | case ref::Q6_K: case ref::Q3_K: case ref::Q2_K: return 3; |
| 206 | default: return 0; |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | // a prepared activation: 4 planes of MAXT rows of n, then the per-16 sums |
| 211 | struct Act { |
no outgoing calls
no test coverage detected