MCPcopy Create free account
hub / github.com/Niko1221/Strata / collect_dots

Function collect_dots

engine/src/quant/dispatch.cpp:26–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24constexpr int kMaxK = 16;
25
26int 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
39int collect_acts(Type act, Arith a, const ActKernel** out, int cap) {
40 const ActTable tables[] = {

Callers 2

dot_kernelsFunction · 0.85
dot_kernelFunction · 0.85

Calls 6

generic_dot_tableFunction · 0.85
avx_dot_tableFunction · 0.85
avx2_dot_tableFunction · 0.85
avx512_dot_tableFunction · 0.85
neon_dot_tableFunction · 0.85
gatherFunction · 0.70

Tested by

no test coverage detected