Skip to content

EricYJA/SpGEMM-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpGEMM-Analysis

Analysis of the performance for different SPGEMM dataflow

Dir Structure

.
├── eval_result // The evaluation result in csv format
├── README.md 
├── src_cpu // the cpu test&ref code
├── src_gpu // the core implementation
│   ├── error_check.cuh 
│   ├── main.cu
│   ├── Makefile
│   ├── mmio.c // code from matrix market io
│   ├── mmio.h // code from matrix market io
│   ├── mmio_wrapper.cpp // code from cuda example
│   ├── run_ncu.sh
│   ├── spmat.cuh
│   ├── spmatmul.cuh
│   └── spmattest.cuh
└── test_mtx // the test data

Running Guide

$ cd src_gpu
$ make
$ ./main rw ../test_mtx/s100/nos4.mtx
$ make clean

Executable

./main <dataflow_type{ip, op, rw}> <matrix_path>
  • ip: inner product dataflow
  • op: outer product dataflow
  • rw: row-wise product dataflow

About

Analysis the performance for different SPGEMM dataflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors