Sitelet https://github.com/burchanie/sparse-bench
Skip to content
 
 

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sparse-bench

Benchmarking sparse linear algebra libraries on CPU, GPU and FPGA.

Real-life sparse matrices from this collection are used.

Prerequisites

You should have installed:

  1. For CPU benchmarking:
  • armadillo and its dependencies
  • PetSC
  • trilinos
  • Note! For maximum performance these libraries usually require vendor specific libraries (e.g. Intel MKL) or optimized linear algebra packs (see their documentation for details)
  1. For GPU benchmarking:
  • CUDA and its dependecies
  • cusp
  • Note! Make sure you use a version of cusp that is compatible with CUDA (e.g. cusp 0.4.0 with CUDA 5.5)
  • Note! cuda external libraries (such as cusp) are assumed to be installed in the user's home directory (~/cuda); you can specify a different directory using the CUDA_PATH Makefile variable
  1. For FPGA benchmarking:
  • coming soon...
  1. Other:
  • python2.7 (including the wget package)

Installation

After installing dependencies run:

git clone https://github.com/paul-g/sparse-bench.git`
cd sparse-bench/benchmark/<specific benchmark>
make
./<binary name>

That's it!

Running the Benchmarks

TODO: add a script to run all the benchmarks and produce some nice results. Coming soon...

About

Benchmarking linear algebra libraries on CPU, GPU and FPGA.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors