summaryrefslogtreecommitdiff
path: root/GEMV/baselines/cpu/run-perf.sh
blob: 5eae8220f29c71249b1d03344a9291c7bfbadf65 (plain)
1
2
3
4
5
6
#!/bin/zsh

make -B numa=1

OMP_NUM_THREADS=1 perf stat record -o t1.perf -e ${(j:,:):-$(grep -v '^#' ../../../perf-events.txt | cut -d ' ' -f 1)} ./gemv 4 4 4
OMP_NUM_THREADS=4 perf stat record -o t4.perf -e ${(j:,:):-$(grep -v '^#' ../../../perf-events.txt | cut -d ' ' -f 1)} ./gemv 4 4 4