matrix_kernels.h File Reference

Optimized matrix operations . More...

This graph shows which files directly or indirectly include this file:

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)


Detailed Description

Optimized matrix operations .

.. Kurt Garloff <kurt@garloff.de>, 07/2002, GNU LGPL $id$

Definition in file matrix_kernels.h.


Define Documentation

#define COST_MATVEC ( r,
 ) 


Function Documentation

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 
) [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().

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 
) [inline]

Definition at line 170 of file matrix_kernels.h.

References fact(), PREFETCH_R, T, TBCI_SIMD_ALIGN, and UNLIKELY.

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 
) [inline]

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 
) [inline]

Definition at line 203 of file matrix_kernels.h.

References ALIGN3, CACHELINE_SZ, LIKELY, MIN_ALIGN2, PREFETCH_R, PREFETCH_W, and T.


Generated on Wed Nov 20 09:28:17 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6