AI Engine API User Guide (AIE) 2023.1
Loading...
Searching...
No Matches
aie::detail::cfr< cint16 > Struct Reference

#include <cfr.hpp>

Classes

struct  input_data
 
class  stage_iterator
 

Public Types

using acc_type = accum< accum_class_for_type_v< cint16 >, 48, 8 >
 

Public Member Functions

template<typename Func >
auto begin (cint16 *inA, cint16 *inB, Func &&get_ctrl_function, unsigned ctrl_upshift=0)
 
template<unsigned Elems>
acc_type mac (acc_type acc, const input_data &data, vector_elem_ref< cint16, Elems > elem)
 
template<unsigned Elems>
acc_type mul (const input_data &data, vector_elem_ref< cint16, Elems > elem)
 

Class Documentation

◆ aie::detail::cfr< cint16 >::input_data

struct aie::detail::cfr< cint16 >::input_data
Class Members
int cid
vector< cint16, 8 > inA
vector< cint16, 8 > inB

Member Typedef Documentation

◆ acc_type

using aie::detail::cfr< cint16 >::acc_type = accum<accum_class_for_type_v<cint16>, 48, 8>

Member Function Documentation

◆ begin()

template<typename Func >
auto aie::detail::cfr< cint16 >::begin ( cint16 *  inA,
cint16 *  inB,
Func &&  get_ctrl_function,
unsigned  ctrl_upshift = 0 
)
inline

◆ mac()

template<unsigned Elems>
acc_type aie::detail::cfr< cint16 >::mac ( acc_type  acc,
const input_data &  data,
vector_elem_ref< cint16, Elems >  elem 
)
inline

◆ mul()

template<unsigned Elems>
acc_type aie::detail::cfr< cint16 >::mul ( const input_data &  data,
vector_elem_ref< cint16, Elems >  elem 
)
inline

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