https://github.com/muneeb706/sparse-matrix-vector-mul
Parallelized Sparse Matrix Vector multiplication using OpenMP
https://github.com/muneeb706/sparse-matrix-vector-mul
c-plus-plus multiplication multithreading openmp sparse-matrix
Last synced: 2 months ago
JSON representation
Parallelized Sparse Matrix Vector multiplication using OpenMP
- Host: GitHub
- URL: https://github.com/muneeb706/sparse-matrix-vector-mul
- Owner: muneeb706
- Created: 2020-10-22T21:29:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-22T21:36:00.000Z (over 4 years ago)
- Last Synced: 2025-01-31T10:42:13.712Z (4 months ago)
- Topics: c-plus-plus, multiplication, multithreading, openmp, sparse-matrix
- Language: C++
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sparse-Matrix-Vector-Mul
Parallelized Sparse Matrix Vector multiplication using OpenMP## Dataset
Experiment is done on the higgs-twitter.mtx data file, this file can be downloaded from [higgs-twitter-dataset](https://suitesparse-collection-website.herokuapp.com/MM/SNAP/higgs-twitter.tar.gz). After downloading the compressed folder search for higgs-twitter.mtx data file and put the file in the same folder where code files are placed.## Compilation and Execution
Code can be compiled and executed using g++ compiler. Please enter following commands in the terminal after navigating to folder where code files are placed to compile.### For Serial Program
#### Compile
g++ -o spmv-openmp spmv-openmp.cpp -std=c++11 -fopenmp
#### Execute
./spmv-openmp