This is a repo for SpMV implementations for CSR, COO, DIA, ELL, and BCSR, with the input matrix in Matrix Market (.mtx) format.
For simpler
branch, only simple SpMV implementations for CSR and COO are supported.
cd SpMV
make
(You may need to change some settings in Makefile).
./spmv [mtx file] [--precision=32/64]
include
contains include files, spmv implementations ininclude/spmv_host
, and sparse format conversion ininclude/sparse_conversions.h
.src
contains I/O code for *.mtx filetest_scripts
is for testing plenty of matrices together by giving the matrix list.example_matrices
saves some small sparse matrices in mtx format.config*.h
are for different SpMV kernel execution. (Ignore them for now.)
- Jiajia Li ([email protected])
This repo is released under the MIT License. Please see the 'LICENSE' file for details. Source code is developed based on the code written by Nathan Bell and Michael Garland at NVIDIA.