From 9d9d81ad71a52c33ba4db9f8a6059d435d279316 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 9 Mar 2008 16:13:47 +0000 Subject: * basic support for multicore CPU via a .evalOMP() which internaly uses OpenMP if enabled at compile time. * added a bench/ folder with a couple benchmarks and benchmark tools. --- bench/bench_multi_compilers.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 bench/bench_multi_compilers.sh (limited to 'bench/bench_multi_compilers.sh') diff --git a/bench/bench_multi_compilers.sh b/bench/bench_multi_compilers.sh new file mode 100755 index 000000000..ce5586fb9 --- /dev/null +++ b/bench/bench_multi_compilers.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +if (($# < 2)); then + echo "Usage: $0 compilerlist.txt benchfile.cpp" +else + +compilerlist=$1 +benchfile=$2 + +g=0 +source $compilerlist + +# for each compiler, compile benchfile and run the benchmark +for (( i=0 ; i /dev/null + echo "" + else + echo "compiler not found: $compiler" + fi +done + +fi -- cgit v1.2.3