From ac425090f389e34f9aee71b5957cca529ac74a38 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 26 Feb 2010 14:57:49 +0100 Subject: BTL: allow to bench real time --- bench/bench_gemm.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bench/bench_gemm.cpp') diff --git a/bench/bench_gemm.cpp b/bench/bench_gemm.cpp index d958cc1bf..c7a3db619 100644 --- a/bench/bench_gemm.cpp +++ b/bench/bench_gemm.cpp @@ -3,6 +3,7 @@ // icpc bench_gemm.cpp -I .. -O3 -DNDEBUG -lrt -openmp && OMP_NUM_THREADS=2 ./a.out #include + #include using namespace std; @@ -68,10 +69,10 @@ void gemm(const M& a, const M& b, M& c) int main(int argc, char ** argv) { - int rep = 1; // number of repetitions per try + int rep = 2048; // number of repetitions per try int tries = 5; // number of tries, we keep the best - int s = 2048; + int s = 512; int m = s; int n = s; int p = s; -- cgit v1.2.3