-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunLUOnGenoa
executable file
·24 lines (21 loc) · 1.21 KB
/
runLUOnGenoa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
c++ -Wall -Ofast -march=x86-64-v4 src/LU.cpp -mprefer-vector-width=512
./doPerfStatGenoa 100 ./a.out >& data/LUv4w512
c++ -Wall -Ofast -march=x86-64-v4 src/LU.cpp -mprefer-vector-width=256
./doPerfStatGenoa 100 ./a.out >& data/LUv4w256
c++ -Wall -Ofast -march=x86-64-v4 src/LU.cpp -mprefer-vector-width=128
./doPerfStatGenoa 100 ./a.out >& data/LUv4w128
c++ -Wall -O2 -march=x86-64-v4 src/LU.cpp
./doPerfStatGenoa 100 ./a.out >& data/LUv4w1
c++ -Wall -Ofast -march=x86-64-v3 src/LU.cpp -mprefer-vector-width=256
./doPerfStatGenoa 100 ./a.out >& data/LUv3w256
c++ -Wall -Ofast -march=x86-64-v2 src/LU.cpp -mprefer-vector-width=128
./doPerfStatGenoa 100 ./a.out >& data/LUv2w128
c++ -Wall -Ofast -march=x86-64 src/LU.cpp -mprefer-vector-width=128
./doPerfStatGenoa 100 ./a.out >& data/LUv1w128
c++ -Wall -O2 -march=x86-64 src/LU.cpp -mprefer-vector-width=128
./doPerfStatGenoa 100 ./a.out >& data/LUv1w1
grep "duration" data/LUv* | sed 's|data/||g' | sed 's/:/ /g' | awk '{print $1, $3, $2}' > data/PerfGenoaLU
grep "#" data/LUv* | sed 's/:u//g' | sed 's/:/ /g' | sed 's/,//g' | sed 's/\#.*//g' | sed 's/msec//g' | sed 's|data/||g' >> data/PerfGenoaLU
cp data/PerfGenoaLU data/fileToParse
python3 parsePerfCounts.py
rm data/fileToParse