AI Engine API User Guide (AIE) 2023.1
Loading...
Searching...
No Matches
aie::detail::mmul_32_32< 2, 8, 2, TypeA, TypeB, AccumBits > Struct Template Reference

#include <mmul_32_32.hpp>

Inheritance diagram for aie::detail::mmul_32_32< 2, 8, 2, TypeA, TypeB, AccumBits >:
aie::detail::mmul_common< 2, 8, 2, TypeA, TypeB > aie::detail::C_block< TypeA, TypeB, AccumBits, 4, 1 >

Public Types

using vector_A_type = vector< TypeA, 16 >
 
using vector_B_type = vector< TypeB, 16 >
 

Public Member Functions

void mac (const vector_A_type &a, bool a_sign, const vector_B_type &b, bool b_sign)
 
void mul (const vector_A_type &a, bool a_sign, const vector_B_type &b, bool b_sign)
 

Static Public Attributes

static constexpr unsigned K
 
static constexpr unsigned M
 
static constexpr unsigned N
 

Member Typedef Documentation

◆ vector_A_type

template<typename TypeA , typename TypeB , unsigned AccumBits>
using aie::detail::mmul_32_32< 2, 8, 2, TypeA, TypeB, AccumBits >::vector_A_type = vector<TypeA, 16>

◆ vector_B_type

template<typename TypeA , typename TypeB , unsigned AccumBits>
using aie::detail::mmul_32_32< 2, 8, 2, TypeA, TypeB, AccumBits >::vector_B_type = vector<TypeB, 16>

Member Function Documentation

◆ mac()

template<typename TypeA , typename TypeB , unsigned AccumBits>
void aie::detail::mmul_32_32< 2, 8, 2, TypeA, TypeB, AccumBits >::mac ( const vector_A_type a,
bool  a_sign,
const vector_B_type b,
bool  b_sign 
)
inline

◆ mul()

template<typename TypeA , typename TypeB , unsigned AccumBits>
void aie::detail::mmul_32_32< 2, 8, 2, TypeA, TypeB, AccumBits >::mul ( const vector_A_type a,
bool  a_sign,
const vector_B_type b,
bool  b_sign 
)
inline

Member Data Documentation

◆ K

constexpr unsigned aie::detail::mmul_common< _M, _K, _N, TypeA, TypeB >::K
staticconstexprinherited

◆ M

constexpr unsigned aie::detail::mmul_common< _M, _K, _N, TypeA, TypeB >::M
staticconstexprinherited

◆ N

constexpr unsigned aie::detail::mmul_common< _M, _K, _N, TypeA, TypeB >::N
staticconstexprinherited

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