项目作者: muneeb706

项目描述 :
Parallelized Sparse Matrix Vector multiplication using OpenMP
高级语言: C++
项目地址: git://github.com/muneeb706/Sparse-Matrix-Vector-Mul.git
创建时间: 2020-10-22T21:29:44Z
项目社区:https://github.com/muneeb706/Sparse-Matrix-Vector-Mul

开源协议:

下载


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. 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