
Go to the source code of this file.
Defines | |
| #define | COST_MATVEC(r, c) |
Functions | |
| template<typename T> | |
| void | do_mat_mat_mult (const unsigned start, const unsigned end, TMatrix< T > *res, const Matrix< T > *a, const Matrix< T > *b) |
| TODO: Provide plain version of mat-mat and mat-vec mult! | |
| template<typename T> | |
| void | do_mat_vec_mult (const unsigned start, const unsigned end, TVector< T > *res, const Matrix< T > *mat, const Vector< T > *vec) |
| template<typename T> | |
| void | do_mat_tsv_mult (const unsigned start, const unsigned end, TVector< T > *res, const Matrix< T > *mat, const TSVector< T > *tsv) |
| template<typename T> | |
| void | do_mat_vec_transmult (const unsigned start, const unsigned end, TVector< T > *res, const Matrix< T > *mat, const Vector< T > *vec) |
.. Kurt Garloff <kurt@garloff.de>, 07/2002, GNU LGPL $id$
Definition in file matrix_kernels.h.
| #define COST_MATVEC | ( | r, | |||
| c | ) |
Value:
(r*(COST_UNIT_STORE+COST_LOOP \ +c*(3*COST_UNIT_LOAD+COST_CALL+COST_ADD+COST_MULT+COST_LOOP)))
Definition at line 98 of file matrix_kernels.h.
| void do_mat_mat_mult | ( | const unsigned | start, | |
| const unsigned | end, | |||
| TMatrix< T > * | res, | |||
| const Matrix< T > * | a, | |||
| const Matrix< T > * | b | |||
| ) | [inline] |
TODO: Provide plain version of mat-mat and mat-vec mult!
Definition at line 49 of file matrix_kernels.h.
References ALIGN3, CACHELINE_SZ, LIKELY, MIN_ALIGN2, PREFETCH_R, RESTRICT, and T.
Referenced by TBCI::job_mat_mat_mult().
| void do_mat_tsv_mult | ( | const unsigned | start, | |
| const unsigned | end, | |||
| TVector< T > * | res, | |||
| const Matrix< T > * | mat, | |||
| const TSVector< T > * | tsv | |||
| ) | [inline] |
Definition at line 170 of file matrix_kernels.h.
References fact(), PREFETCH_R, T, TBCI_SIMD_ALIGN, and UNLIKELY.
| void do_mat_vec_mult | ( | const unsigned | start, | |
| const unsigned | end, | |||
| TVector< T > * | res, | |||
| const Matrix< T > * | mat, | |||
| const Vector< T > * | vec | |||
| ) | [inline] |
Definition at line 102 of file matrix_kernels.h.
References ALIGN2, CACHELINE_SZ, LIKELY, MIN_ALIGN2, PREFETCH_R, PREFETCH_W, T, TBCI_SIMD_ALIGN, and UNLIKELY.
| void do_mat_vec_transmult | ( | const unsigned | start, | |
| const unsigned | end, | |||
| TVector< T > * | res, | |||
| const Matrix< T > * | mat, | |||
| const Vector< T > * | vec | |||
| ) | [inline] |
Definition at line 203 of file matrix_kernels.h.
References ALIGN3, CACHELINE_SZ, LIKELY, MIN_ALIGN2, PREFETCH_R, PREFETCH_W, and T.
1.5.6