|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Does dot<Accumulator, Result>(v1, v2) name the widening integer kernel? More...
#include <dot.hpp>
Does dot<Accumulator, Result>(v1, v2) name the widening integer kernel?
Both vectors contiguous over the SAME 16-bit type, and the requested accumulator exactly that type's widened counterpart (int16 -> int32, uint16 -> uint32) with no separate delivery type. Anything else – a wider accumulator, a mixed pair, a strided view – falls to the generic accumulator_traits loop, which is correct for all of them.