extented plot-filter.sh for linpack and cholesky benchmarks
This commit is contained in:
parent
5087096711
commit
ca63503e61
|
@ -33,6 +33,28 @@
|
||||||
# ./dgemm.goto 2>&1|./plotfilter.sh >OpenBLAS
|
# ./dgemm.goto 2>&1|./plotfilter.sh >OpenBLAS
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
|
|
||||||
|
if [ $# -eq 1 ]
|
||||||
|
then
|
||||||
|
arg1=$1
|
||||||
|
else
|
||||||
|
arg1=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $arg1 in
|
||||||
|
|
||||||
|
L)
|
||||||
|
# Linpack Benchmark
|
||||||
|
awk '/MFlops/ { print $1,int($8) }'|tail --lines=+2
|
||||||
|
;;
|
||||||
|
|
||||||
|
C)
|
||||||
|
# Cholesky Benchmark
|
||||||
|
awk '/MFlops/ { print $3,int($9) }'|tail --lines=+2
|
||||||
|
;;
|
||||||
|
|
||||||
|
|
||||||
|
*)
|
||||||
awk '/MFlops/ { print $1,int($3) }'|tail --lines=+2
|
awk '/MFlops/ { print $1,int($3) }'|tail --lines=+2
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue