From 71055968992726301ef73a1f857c928d0ba727a6 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 7 Dec 2016 16:56:08 +0100 Subject: Add missing include and use -O3 --- bench/perf_monitoring/gemm_common.h | 1 + bench/perf_monitoring/gemv_common.h | 1 + bench/perf_monitoring/run.sh | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'bench') diff --git a/bench/perf_monitoring/gemm_common.h b/bench/perf_monitoring/gemm_common.h index 34ff5edb8..a1a2d4fb0 100644 --- a/bench/perf_monitoring/gemm_common.h +++ b/bench/perf_monitoring/gemm_common.h @@ -1,6 +1,7 @@ #include #include #include +#include #include #include "../../BenchTimer.h" using namespace Eigen; diff --git a/bench/perf_monitoring/gemv_common.h b/bench/perf_monitoring/gemv_common.h index 55ee0ff8b..727784065 100644 --- a/bench/perf_monitoring/gemv_common.h +++ b/bench/perf_monitoring/gemv_common.h @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include "../../BenchTimer.h" diff --git a/bench/perf_monitoring/run.sh b/bench/perf_monitoring/run.sh index b5f72ca52..7862e993c 100755 --- a/bench/perf_monitoring/run.sh +++ b/bench/perf_monitoring/run.sh @@ -112,7 +112,7 @@ function test_current # echo $update et $selected et $rev_found because $rev et "$global_args" # echo $count_rev et $count_ref if [ $update == true ] || [ $count_rev != $count_ref ] || ([ $selected == true ] && [ $rev_found == true ]); then - if $CXX -O2 -DNDEBUG -march=native $CXX_FLAGS -I eigen_src $bench.cpp -DSCALAR=$scalar -o $name; then + if $CXX -O3 -DNDEBUG -march=native $CXX_FLAGS -I eigen_src $bench.cpp -DSCALAR=$scalar -o $name; then curr=`./$name $settings_file` if [ $count_rev == $count_ref ]; then echo "merge previous $prev" -- cgit v1.2.3