This project aims to optimize PLUSS Sampler(https://cnc-workshop.github.io/cnc2021/slides/CnC_Liu.pdf) using Rust with parallel techniques to improve the performance and memory safety of the original C++ GEMM sampler.
- download and install GSL library from https://www.gnu.org/software/gsl/
- configure the path of GSL library and g++ in the Makefile
- in the terminal, type
sh run.sh $METHOD
to run the code$METHOD
here will be eitheracc
orspeed
acc
will run the code with the accuracy testspeed
will run the code with the speed test
- check the output.txt file for the result
Slides available: https://github.com/dcompiler/258s23/blob/main/FinalProjects.md#shaotong-sun-and-jionghao-han-pluss-sampler-optimization