| 24 | constexpr int kMaxK = 16; |
| 25 | |
| 26 | int collect_dots(Type w, Arith a, const DotKernel** out, int cap) { |
| 27 | const DotTable tables[] = { |
| 28 | generic_dot_table(), |
| 29 | #ifdef STRATA_QUANT_X86_TIERS |
| 30 | avx_dot_table(), avx2_dot_table(), avx512_dot_table(), |
| 31 | #endif |
| 32 | #ifdef STRATA_QUANT_ARM_TIERS |
| 33 | neon_dot_table(), |
| 34 | #endif |
| 35 | }; |
| 36 | return gather(tables, w, a, out, cap, &DotKernel::weight); |
| 37 | } |
| 38 | |
| 39 | int collect_acts(Type act, Arith a, const ActKernel** out, int cap) { |
| 40 | const ActTable tables[] = { |
no test coverage detected