Improved benchmark suite

This commit is contained in:
Philippe Tillet
2014-11-06 07:07:27 -05:00
parent 2be82fc272
commit 146f54b32c
5 changed files with 174 additions and 70 deletions

View File

@@ -1,7 +1,14 @@
set logscale x
set terminal pdf
set output 'saxpy.pdf'
plot "out.dat" i 0 using 1:2 with lines title 'Naive', \
"out.dat" i 0 using 1:3 with lines title 'Model', \
"out.dat" i 0 using 1:4 with lines title 'Optimal'
set output 'bench.pdf'
set xlabel 'N'
set ylabel 'Bandwidth (GB/s)'
set key top left
stats "out.dat" nooutput
set logscale x
do for [i=1:STATS_blocks]{
plot "out.dat" index (i-1) using 1:2 with lines title 'Naive', \
"out.dat" index (i-1) using 1:3 with lines title 'Model', \
"out.dat" index (i-1) using 1:4 with lines title 'Optimal'
}