AI Engine API User Guide (AIE) 2022.1
|
#include <mmul_c16_16.hpp>
Public Types | |
using | accum_type = accum< AccumClass::CInt, AccumBits, Lanes > |
using | internal_accum_type = accum< AccumClass::Int, 64, Lanes > |
using | TypeA = cint16 |
using | vector_A_type = vector< TypeA, 8 > |
using | vector_B_type = vector< TypeB, 32 > |
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< TR, Lanes > | to_vector (int shift=0) const |
Public Attributes | |
internal_accum_type | imag |
internal_accum_type | real |
Static Public Attributes | |
static constexpr unsigned | K |
static constexpr unsigned | M |
static constexpr unsigned | N |