Basic information

  • SLC6.3
  • CPU: Intel(R) Xeon(R) CPU L5520 @ 2.27GHz
  • gcc 4.7.2
  • boost: 1.52.0
  • CLHEP: 2.1.2.5
  • Eigen: 3.1.2
  • Gmm++: 4.2
  • ROOT: 5.34.04 * Note: If there is no time measurement available for a library, the operation is not available in this library.

Setup and run

  • Compiler flags: -march=native -W -pedantic -g -O3 --fast-math -ftree-vectorize -ftree-vectorizer-verbose=0 -o main main.cxx -Wno-long-long

Matrix-Matrix-Operations

  • Directory:
  • Tool:

Time measurements

3x3 matrices:

  • Code:

Multiplication

  • Log file:
  • Iteration steps: 20000
  • boost::ublast: 211.214 sec
  • CLHEP: 65.4442 sec
  • Eigen: 8.43063 sec
  • gmm++: 66.9832 sec
  • ROOT::SMatrix: 8.38688 sec

Addition

  • Log file:
  • Iteration steps: 20000
  • boost::ublast: 118.328 sec
  • CLHEP: 38.7516 sec
  • Eigen: 4.60992 sec
  • gmm++: 52.8079 sec
  • ROOT::SMatrix: 4.73611 sec

Invert

  • Log file:
  • Iteration steps: 20000
  • boost::ublast: 211.284 sec
  • CLHEP: 67.6019 sec
  • Eigen: 8.46324 sec
  • gmm++: 1826.16
  • ROOT::SMatrix: 8.38324 sec

3,5 and 5,3 matrices:

  • Code:

Multiplication

  • Log file:
  • Iteration steps: 20000
  • boost::ublast: 297.65 sec
  • CLHEP: 91.5641 sec
  • Eigen: 12.614 sec
  • gmm++: 91.1216 sec
  • ROOT::SMatrix:

Varying matrix dimension

* Code:

Multiplication

  • Log file:
  • boost::ublast:
  • CLHEP:
  • Eigen
  • gmm++:
  • ROOT::SMatrix:

Addition

  • Log file:
  • boost::ublast:
  • CLHEP:
  • Eigen
  • gmm++:
  • ROOT::SMatrix:

Invert

  • Log file:
  • boost::ublast:
  • CLHEP:
  • Eigen:
  • gmm++:
  • ROOT::SMatrix:

Vector-Vector-Operations

  • Directory:
  • Tool:

Time measurements

3 dimension:

Addition

  • Log file (HepVector):
  • Log file (Hep3Vector):
  • Iteration steps:
  • boost::ublast: 36.377 sec
  • CLHEP (HepVector): 3.5482 sec
  • CLHEP (Hep3Vector): 32.9425 sec
  • Eigen: 1.84999 sec
  • gmm++: 99.8257 sec
  • ROOT::SMatrix: 1.83199 sec

Cross product

  • Log file:
  • Iteration steps: 500000
  • boost::ublast:
  • CLHEP: 27.7232 sec
  • Eigen: 18.4769 sec
  • gmm++:
  • ROOT::SMatrix:

Dot product

  • Log file:
  • Iteration steps: 500000
  • boost::ublast:
  • CLHEP: 9.4641 sec
  • Eigen: 41612.6
  • gmm++: 114.279 sec
  • ROOT::SMatrix:

Varying matrix dimension

* Code:

Multiplication

  • Log file:

Addition

  • Log file:

Matrix-Vector-Operations

  • Directory:
  • Tool:

Time measurements

3 dimension:

Multiplication

Varying matrix dimension

* Code:

Multiplication

  • Log file:
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r11 - 2013-01-29 - RoccoMandrysch
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback