Skip to content
Snippets Groups Projects
  1. Nov 20, 2015
    • Christian Engwer's avatar
      [densematrix] use the correct scaling parameter for usmv and friends · bdf74dca
      Christian Engwer authored
      In the current state the scaling parameter for matrix-vector products
      (e.g. the alpha parameter for DenseMatrix<...>::usmv) is the
      field_type of the matrix. I you consider mixed precision, like in the
      xblas library, you would actually want the scaling to be of the same
      accuracy as the output vector; an other reason is vectorization for
      one matrix and multiple vectors.
      
      The patch contains two changes:
      
      a) the FieldTraits are extended, so that the contain specializations
         for C and C++ vectors
      b) the thre matrix implementations are changed, such that they deduce
         the type as FieldTraits<Y>::field_type, where Y is the type of the
         result vector.
      
      In the case of identity matrix the old implementation was laso completely wrong, as it used
      Y::axpy to implement usmv and Y::axpy expects alpha to be Y::value_type, so that we already
      had a type clash, which just went unnoticed, as we never used mixed-types.
      bdf74dca
  2. Oct 06, 2014
  3. May 31, 2012
    • Oliver Sander's avatar
      Document each header file · 98fbc7b3
      Oliver Sander authored
      With the exception of mpicollectivecommunication.hh
      and propertymap.hh, which I didn't understand.
      
      [[Imported from SVN: r6784]]
      98fbc7b3
  4. Nov 29, 2010
  5. Oct 11, 2010
  6. Sep 08, 2010
  7. Oct 15, 2009
Loading