AI Engine API User Guide (AIE) 2023.2
Loading...
Searching...
No Matches
aie::detail::schedule_1< AccumBits, Lanes, T_Coeff, N_Coeff, T_Data, Op, Step > Struct Template Reference

#include <accumulate.hpp>

Public Types

using accum_tag = accum_tag_for_mul_types< T_Coeff, T_Data, AccumBits >
 
using accum_type = accum< accum_tag, Lanes >
 
using coeff_vector_type = vector< T_Coeff, N_Coeff >
 
using consume_terms_type = consume_terms< AccumBits, Lanes, type_bits_v< T_Coeff >, T_Coeff, N_Coeff, type_bits_v< T_Data >, T_Data, Op, Step >
 
using data_vector_type = vector< T_Data, Lanes >
 

Public Member Functions

template<typename... Terms>
accum_type run_terms (const accum_type &acc, const coeff_vector_type &coeff, unsigned coeff_idx, const data_vector_type &v, const Terms &...terms) const
 
template<typename... Terms>
accum_type run_terms (const coeff_vector_type &coeff, unsigned coeff_idx, const data_vector_type &v, const Terms &...terms) const
 

Member Typedef Documentation

◆ accum_tag

template<unsigned AccumBits, unsigned Lanes, typename T_Coeff , unsigned N_Coeff, typename T_Data , Operation Op, int Step>
using aie::detail::schedule_1< AccumBits, Lanes, T_Coeff, N_Coeff, T_Data, Op, Step >::accum_tag = accum_tag_for_mul_types<T_Coeff, T_Data, AccumBits>

◆ accum_type

template<unsigned AccumBits, unsigned Lanes, typename T_Coeff , unsigned N_Coeff, typename T_Data , Operation Op, int Step>
using aie::detail::schedule_1< AccumBits, Lanes, T_Coeff, N_Coeff, T_Data, Op, Step >::accum_type = accum<accum_tag, Lanes>

◆ coeff_vector_type

template<unsigned AccumBits, unsigned Lanes, typename T_Coeff , unsigned N_Coeff, typename T_Data , Operation Op, int Step>
using aie::detail::schedule_1< AccumBits, Lanes, T_Coeff, N_Coeff, T_Data, Op, Step >::coeff_vector_type = vector<T_Coeff, N_Coeff>

◆ consume_terms_type

template<unsigned AccumBits, unsigned Lanes, typename T_Coeff , unsigned N_Coeff, typename T_Data , Operation Op, int Step>
using aie::detail::schedule_1< AccumBits, Lanes, T_Coeff, N_Coeff, T_Data, Op, Step >::consume_terms_type = consume_terms<AccumBits, Lanes, type_bits_v<T_Coeff>, T_Coeff, N_Coeff, type_bits_v<T_Data>, T_Data, Op, Step>

◆ data_vector_type

template<unsigned AccumBits, unsigned Lanes, typename T_Coeff , unsigned N_Coeff, typename T_Data , Operation Op, int Step>
using aie::detail::schedule_1< AccumBits, Lanes, T_Coeff, N_Coeff, T_Data, Op, Step >::data_vector_type = vector<T_Data, Lanes>

Member Function Documentation

◆ run_terms() [1/2]

template<unsigned AccumBits, unsigned Lanes, typename T_Coeff , unsigned N_Coeff, typename T_Data , Operation Op, int Step>
template<typename... Terms>
accum_type aie::detail::schedule_1< AccumBits, Lanes, T_Coeff, N_Coeff, T_Data, Op, Step >::run_terms ( const accum_type acc,
const coeff_vector_type coeff,
unsigned  coeff_idx,
const data_vector_type v,
const Terms &...  terms 
) const
inline

◆ run_terms() [2/2]

template<unsigned AccumBits, unsigned Lanes, typename T_Coeff , unsigned N_Coeff, typename T_Data , Operation Op, int Step>
template<typename... Terms>
accum_type aie::detail::schedule_1< AccumBits, Lanes, T_Coeff, N_Coeff, T_Data, Op, Step >::run_terms ( const coeff_vector_type coeff,
unsigned  coeff_idx,
const data_vector_type v,
const Terms &...  terms 
) const
inline

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