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 SpMVmake(You may need to change some settings in Makefile).
./spmv [mtx file] [--precision=32/64]
includecontains include files, spmv implementations ininclude/spmv_host, and sparse format conversion ininclude/sparse_conversions.h.srccontains I/O code for *.mtx filetest_scriptsis for testing plenty of matrices together by giving the matrix list.example_matricessaves some small sparse matrices in mtx format.config*.hare 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.