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

Function dot_ref

engine/src/quant/dot_generic.cpp:995–1002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

993DotTable generic_dot_table() noexcept { return {kGeneric, (int) (sizeof kGeneric / sizeof kGeneric[0])}; }
994
995void dot_ref(Type w, int n, float* s, const void* wrow, const void* act) {
996 for (const DotKernel& k : kGeneric)
997 if (k.weight == w) {
998 k.fn(n, s, wrow, act);
999 return;
1000 }
1001 std::abort();
1002}
1003
1004} // namespace strata::quant

Callers 1

check_dotFunction · 0.85

Calls 1

abortFunction · 0.50

Tested by

no test coverage detected