# Start from spmv-benchmarking root folder
git clone -b dev https://github.com/ozusrl/MMMatrixIO.git
mkdir -p lib/mmmatrixio
cd lib/mmmatrixio
cmake ../../MMMatrixIO/src
make
# Start from spmv-benchmarking root folder
git clone https://github.com/docopt/docopt.cpp.git
mkdir -p lib/docopt.cpp
cd lib/docopt.cpp
cmake ../../docopt.cpp
make
# Start from spmv-benchmarking root folder
mkdir build
cd build
cmake ../src
make
# Start from spmv-benchmarking root folder
git clone https://github.com/asmjit/asmjit
mkdir -p asmjit/build
cd asmjit/build
cmake ../
make
# Start from spmv-benchmarking root folder
cd build
cmake -DCODEGEN=true ../src
make
Download ViennaCL from http://viennacl.sourceforge.net/viennacl-download.html
to ${VIENNACL_PATH}
Please refer to ViennaCL documentation at http://viennacl.sourceforge.net/doc/manual-installation.html for more details on build options and available backends.
cd ${VIENNACL_PATH}/build
cmake ../
make
# Start from spmv-benchmarking root folder
cd build
cmake -DVIENNACL=${VIENNACL_PATH} ../src
make
Intel MKL is automatically enabled if it is installed.
cuSPARSE is automatically enabled if CUDA library is installed.
# Go to your prefferd folder for CUSP library
git clone https://github.com/cusplibrary/cusplibrary
# Go to spmv_benchmarking root folder
cmake -DCUSP=${CUSP_PATH} ../src
make