|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Can two partial accumulators of a reduction be combined? More...
#include <accumulator_traits.hpp>
Can two partial accumulators of a reduction be combined?
True for configurations 1 and 2, and for an ADL accumulator that provides accumulator_merge; false for a specialization without a merge. The reductions in dot.hpp and norms.hpp split across the thread pool only when this holds (#582), and otherwise run serially as before.