Make eigen_monitor_perf.sh more robust

This commit is contained in:
Androbin42 2017-06-12 17:07:56 +00:00
parent 7f42a93349
commit 3f7fb5a6d6

View File

@ -12,9 +12,9 @@ export CXX_FLAGS="-mfma -w"
####
BENCH_PATH=$EIGEN_SOURCE_PATH/bench/perf_monitoring/$PREFIX
PREVPATH=`pwd`
cd $EIGEN_SOURCE_PATH/bench/perf_monitoring && ./runall.sh "Haswell 2.6GHz, FMA, Apple's clang" $*
cd $PREVPATH
PREVPATH=$(pwd)
cd $EIGEN_SOURCE_PATH/bench/perf_monitoring && ./runall.sh "Haswell 2.6GHz, FMA, Apple's clang" "$@"
cd $PREVPATH || exit 1
ALLFILES="$BENCH_PATH/*.png $BENCH_PATH/*.html $BENCH_PATH/index.html $BENCH_PATH/s1.js $BENCH_PATH/s2.js"