MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::simd::detail::block_accumulator< NA, NB, Quad > Struct Template Reference

The 32-bit accumulator of a widening operand pair: the 16-bit pairs widen pairwise, the 8-bit pairs by four. More...

#include <algorithm.hpp>

Public Types

using type = widen_accumulator_t<NA>

Detailed Description

template<typename NA, typename NB, bool Quad = is_quad_widenable_v<NA>>
struct mtl::simd::detail::block_accumulator< NA, NB, Quad >

The 32-bit accumulator of a widening operand pair: the 16-bit pairs widen pairwise, the 8-bit pairs by four.

Undefined for any other pair, so naming it is guarded the same way reduce_dot_widen guards its traits.

Member Typedef Documentation

◆ type

template<typename NA, typename NB, bool Quad = is_quad_widenable_v<NA>>
using mtl::simd::detail::block_accumulator< NA, NB, Quad >::type = widen_accumulator_t<NA>

The documentation for this struct was generated from the following file: