Benchmark
Obtain Benchmarks
cd gem5-gpu
hg clone https://gem5-gpu.cs.wisc.edu/repo/benchmarks/
Compile
cd benchmarcks/libcuda/
make
Use gcc 4.4 & g++ 4.4 to compile benchmarks
sudo apt-get install gcc-4.4
sudo apt-get install g++-4.4
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 40
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.4 40
sudo update-alternatives --config gcc
sudo update-alternatives --config g++
Example of Compiling a Benchmark
cd benchmarcks/rodinia/backprop
make gem5-fusion
Example of Running a Benchmark
cd gem5/
build/X86_VI_hammer_GPU/gem5.opt /home/<username>/gem5-gpu/gem5-gpu/configs/se_fusion.py -c /home/<username>/gem5-gpu/benchmarks/rodinia/backprop/gem5_fusion_backprop -o "16"
Result
You could explore more detailed simulation results in
“gem5/m5out/stats.txt”