AI Engine API User Guide (AIE) 2022.1
aie::detail::mmul_c32_c16< 1, 2, 8, 64 > Struct Reference

#include <mmul_c32_c16.hpp>

Inheritance diagram for aie::detail::mmul_c32_c16< 1, 2, 8, 64 >:
aie::detail::mmul_common< 1, 2, 8, cint32, cint16 > aie::detail::C_block_larger_internal< cint32, cint16, 64, 8, 2 >

Public Types

using accum_type = accum< accum_class_for_mul_types_v< cint32, cint16 >, AccumBits, Elems >
 
using internal_accum_type = accum< accum_class_for_mul_types_v< cint32, cint16 >, AccumBits, Elems *Ratio >
 
using TypeA = cint32
 
using TypeB = cint16
 
using vector_A_type = vector< TypeA, 2 >
 
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)
 
 operator accum_type () const
 
accum_type to_accum () const
 
vector< T, Elems > to_vector (int shift=0) const
 
vector< T, Elems > to_vector_sign (bool v_sign, int shift=0) const
 

Public Attributes

internal_accum_type data
 

Static Public Attributes

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

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