MatchLib
|
Vector helper container with vector operations. More...
Classes | |
class | nvhls::nv_scvector< Type, VectorLength > |
Vector helper container with vector operations. More... | |
Functions | |
template<typename InType1 , typename InType2 , typename OutType , unsigned int VectorLength, bool Unroll> | |
void | nvhls::vector_mul (nv_scvector< InType1, VectorLength > in1, nv_scvector< InType2, VectorLength > in2, nv_scvector< OutType, VectorLength > &out) |
Function implementing vector multiplication. More... | |
template<typename InType1 , typename InType2 , typename OutType , unsigned int VectorLength, bool Unroll> | |
void | nvhls::vector_add (nv_scvector< InType1, VectorLength > in1, nv_scvector< InType2, VectorLength > in2, nv_scvector< OutType, VectorLength > &out) |
Function implementing vector addition. More... | |
template<typename InType1 , typename InType2 , typename OutType , unsigned int VectorLength, bool Unroll> | |
void | nvhls::vector_sub (nv_scvector< InType1, VectorLength > in1, nv_scvector< InType2, VectorLength > in2, nv_scvector< OutType, VectorLength > &out) |
Function implementing vector subtraction. More... | |
template<typename InType , typename OutType , unsigned int VectorLength, bool UseReduceTree> | |
void | nvhls::reduction (nv_scvector< InType, VectorLength > in, OutType &out) |
Function implementing vector reduction. More... | |
template<typename InType1 , typename InType2 , typename OutType , unsigned int VectorLength, bool UseReduceTree> | |
void | nvhls::dp (nv_scvector< InType1, VectorLength > in1, nv_scvector< InType2, VectorLength > in2, OutType &out) |
Function implementing vector dot-product. More... | |
template<typename InType1 , typename InType2 , typename InType3 , typename OutType , unsigned int VectorLength, bool Unroll> | |
void | nvhls::vector_mac (nv_scvector< InType1, VectorLength > in1, nv_scvector< InType2, VectorLength > in2, nv_scvector< InType3, VectorLength > in3, nv_scvector< OutType, VectorLength > &out) |
Function implementing vector multiply and add. More... | |
Vector helper container with vector operations.
void nvhls::vector_mul | ( | nv_scvector< InType1, VectorLength > | in1, |
nv_scvector< InType2, VectorLength > | in2, | ||
nv_scvector< OutType, VectorLength > & | out | ||
) |
Function implementing vector multiplication.
InType1 | Input1 Scalar Type |
InType2 | Input2 Scalar Type |
OutType | Output Scalar Type |
VectorLength | Length of vector |
Unroll | Template parameter to control unrolling |
Definition at line 210 of file nvhls_vector.h.
void nvhls::vector_add | ( | nv_scvector< InType1, VectorLength > | in1, |
nv_scvector< InType2, VectorLength > | in2, | ||
nv_scvector< OutType, VectorLength > & | out | ||
) |
Function implementing vector addition.
InType1 | Input1 Scalar Type |
InType2 | Input2 Scalar Type |
OutType | Output Scalar Type |
VectorLength | Length of vector |
Unroll | Template parameter to control unrolling |
Definition at line 258 of file nvhls_vector.h.
void nvhls::vector_sub | ( | nv_scvector< InType1, VectorLength > | in1, |
nv_scvector< InType2, VectorLength > | in2, | ||
nv_scvector< OutType, VectorLength > & | out | ||
) |
Function implementing vector subtraction.
InType1 | Input1 Scalar Type |
InType2 | Input2 Scalar Type |
OutType | Output Scalar Type |
VectorLength | Length of vector |
Unroll | Template parameter to control unrolling |
Definition at line 304 of file nvhls_vector.h.
void nvhls::reduction | ( | nv_scvector< InType, VectorLength > | in, |
OutType & | out | ||
) |
Function implementing vector reduction.
InType | Input Scalar Type |
OutType | Output Scalar Type |
VectorLength | Length of vector |
UseReduceTree | Template parameter to control datapath optimization by HLS tool |
Definition at line 350 of file nvhls_vector.h.
void nvhls::dp | ( | nv_scvector< InType1, VectorLength > | in1, |
nv_scvector< InType2, VectorLength > | in2, | ||
OutType & | out | ||
) |
Function implementing vector dot-product.
InType1 | Input1 Scalar Type |
InType2 | Input2 Scalar Type |
OutType | Output Scalar Type |
VectorLength | Length of vector |
UseReduceTree | Template parameter to control datapath optimization by HLS tool |
Definition at line 406 of file nvhls_vector.h.
void nvhls::vector_mac | ( | nv_scvector< InType1, VectorLength > | in1, |
nv_scvector< InType2, VectorLength > | in2, | ||
nv_scvector< InType3, VectorLength > | in3, | ||
nv_scvector< OutType, VectorLength > & | out | ||
) |
Function implementing vector multiply and add.
InType1 | Input1 Scalar Type |
InType2 | Input2 Scalar Type |
InType3 | Input3 Scalar Type |
OutType | Output Scalar Type |
VectorLength | Length of vector |
UseReduceTree | Template parameter to control datapath optimization by HLS tool |
Definition at line 462 of file nvhls_vector.h.