![]() |
AI Engine API User Guide (AIE) 2022.2
|
#include <accumulate.hpp>
Public Types | |
| template<unsigned Elems> | |
| using | accum_type = accum< accum_class_for_mul_types_v< T_Coeff, T_Data >, AccumBits, Elems > |
| using | coeff_vector_type = vector< T_Coeff, N_Coeff > |
| using | data_vector_type = vector< T_Data, Lanes > |
| using | T_Coeff = int32 |
| using | T_Data = int16 |
Static Public Member Functions | |
| template<typename... Accum> | |
| static accum_type< Lanes > | consume_1 (const coeff_vector_type &coeff, unsigned coeff_start, const data_vector_type &v, Accum &&... acc) |
| template<typename... Accum> | |
| static accum_type< Lanes > | consume_2 (const coeff_vector_type &coeff, unsigned coeff_start, const data_vector_type &x, const data_vector_type &y, Accum &&... acc) |
Static Public Attributes | |
| static constexpr unsigned | AccumBits = 48 |