![]() |
AI Engine API User Guide (AIE) 2022.2
|
#include <mmul_32_32.hpp>
Public Types | |
using | accum_type = accum< accum_class_for_mul_types_v< float, float >, AccumBits, Elems > |
using | internal_accum_type = accum< accum_class_for_mul_types_v< float, float >, AccumBits, Elems *Ratio > |
using | vector_A_type = vector< float, 16 > |
using | vector_B_type = vector< float, 4 > |
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 |
bool | zero |
Static Public Attributes | |
static constexpr unsigned | K |
static constexpr unsigned | M |
static constexpr unsigned | N |