diff options
author | Androbin42 <robin.richtsfeld@gmail.com> | 2017-06-12 17:07:56 +0000 |
---|---|---|
committer | Androbin42 <robin.richtsfeld@gmail.com> | 2017-06-12 17:07:56 +0000 |
commit | 3f7fb5a6d63b0f0a278fa4d889f86d8001a5f45e (patch) | |
tree | aacf8a75178f2e787a82da41ff063496d73e5a42 /scripts | |
parent | 7f42a93349c7ed175fda5a684f603dfdcf6724e8 (diff) |
Make eigen_monitor_perf.sh more robust
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/eigen_monitor_perf.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/eigen_monitor_perf.sh b/scripts/eigen_monitor_perf.sh index 39f8e7ecd..8f3425daf 100755 --- a/scripts/eigen_monitor_perf.sh +++ b/scripts/eigen_monitor_perf.sh @@ -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" |