AI Engine API User Guide (AIE) 2023.1
Loading...
Searching...
No Matches
aie::detail::consume_terms< AccumBits, Lanes, 64, cfloat, N_Coeff, 64, cfloat, Op, Step > Struct Template Reference

#include <accumulate.hpp>

Public Types

template<unsigned Elems>
using accum_type = accum< accum_class, AccumBits, Elems >
 
using coeff_vector_type = vector< T_Coeff, N_Coeff >
 
using data_vector_type = vector< T_Data, Lanes >
 
using T_Coeff = cfloat
 
using T_Data = cfloat
 

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 AccumClass accum_class = accum_class_for_mul_types_v<T_Coeff, T_Data>
 

Member Typedef Documentation

◆ accum_type

template<unsigned AccumBits, unsigned Lanes, unsigned N_Coeff, Operation Op, int Step>
template<unsigned Elems>
using aie::detail::consume_terms< AccumBits, Lanes, 64, cfloat, N_Coeff, 64, cfloat, Op, Step >::accum_type = accum<accum_class, AccumBits, Elems>

◆ coeff_vector_type

template<unsigned AccumBits, unsigned Lanes, unsigned N_Coeff, Operation Op, int Step>
using aie::detail::consume_terms< AccumBits, Lanes, 64, cfloat, N_Coeff, 64, cfloat, Op, Step >::coeff_vector_type = vector<T_Coeff, N_Coeff>

◆ data_vector_type

template<unsigned AccumBits, unsigned Lanes, unsigned N_Coeff, Operation Op, int Step>
using aie::detail::consume_terms< AccumBits, Lanes, 64, cfloat, N_Coeff, 64, cfloat, Op, Step >::data_vector_type = vector<T_Data, Lanes>

◆ T_Coeff

template<unsigned AccumBits, unsigned Lanes, unsigned N_Coeff, Operation Op, int Step>
using aie::detail::consume_terms< AccumBits, Lanes, 64, cfloat, N_Coeff, 64, cfloat, Op, Step >::T_Coeff = cfloat

◆ T_Data

template<unsigned AccumBits, unsigned Lanes, unsigned N_Coeff, Operation Op, int Step>
using aie::detail::consume_terms< AccumBits, Lanes, 64, cfloat, N_Coeff, 64, cfloat, Op, Step >::T_Data = cfloat

Member Function Documentation

◆ consume_1()

template<unsigned AccumBits, unsigned Lanes, unsigned N_Coeff, Operation Op, int Step>
template<typename... Accum>
static accum_type< Lanes > aie::detail::consume_terms< AccumBits, Lanes, 64, cfloat, N_Coeff, 64, cfloat, Op, Step >::consume_1 ( const coeff_vector_type coeff,
unsigned  coeff_start,
const data_vector_type v,
Accum &&...  acc 
)
inlinestatic

◆ consume_2()

template<unsigned AccumBits, unsigned Lanes, unsigned N_Coeff, Operation Op, int Step>
template<typename... Accum>
static accum_type< Lanes > aie::detail::consume_terms< AccumBits, Lanes, 64, cfloat, N_Coeff, 64, cfloat, Op, Step >::consume_2 ( const coeff_vector_type coeff,
unsigned  coeff_start,
const data_vector_type x,
const data_vector_type y,
Accum &&...  acc 
)
inlinestatic

Member Data Documentation

◆ accum_class

template<unsigned AccumBits, unsigned Lanes, unsigned N_Coeff, Operation Op, int Step>
constexpr AccumClass aie::detail::consume_terms< AccumBits, Lanes, 64, cfloat, N_Coeff, 64, cfloat, Op, Step >::accum_class = accum_class_for_mul_types_v<T_Coeff, T_Data>
staticconstexpr

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