Lines Matching +full:rev +full:- +full:parse
10 # PREFIX="haswell-fma-"
11 # CXX_FLAGS="-mfma"
15 # -up : enforce the recomputation of existing data, and keep best results as a merging strategy
16 # -s : recompute selected changesets only and keep bests
17 # -np : no plotting of results, just generate the data
22 if [[ "$*" =~ '-up' ]]; then
28 if [[ "$*" =~ '-s' ]]; then
34 if [[ "$*" =~ '-np' ]]; then
43 if [ -z "$PREFIX" ]; then
46 WORKING_DIR_PREFIX="$WORKING_DIR/$PREFIX-"
49 mkdir -p $WORKING_DIR
56 echo "(Re-)Compute all changesets and keep bests"
63 if [ ! -d "eigen_src" ]; then
71 if [ -z "$CXX" ]; then
77 if [ -f "$1.out" ]; then
84 count1=`echo $1 | wc -w`
85 count2=`echo $2 | wc -w`
92 tmp=`echo "if ($ai > $bi) $ai else $bi " | bc -l`
104 rev=$1
109 if [ -e "$name.backup" ]; then
110 prev=`grep $rev "$name.backup" | cut -d ' ' -f 2-`
113 count_rev=`echo $prev | wc -w`
114 count_ref=`cat $settings_file | wc -l`
115 if echo "$global_args" | grep "$rev" > /dev/null; then
120 # echo $update et $selected et $rev_found because $rev et "$global_args"
123 …echo "RUN: $CXX -O3 -DNDEBUG -march=native $CXX_FLAGS -I eigen_src $bench.cpp -DSCALAR=$scalar -o …
124 …if $CXX -O3 -DNDEBUG -march=native $CXX_FLAGS -I eigen_src $bench.cpp -DSCALAR=$scalar -o $name; t…
134 echo "$rev $res" >> $name.out
136 echo "Compilation failed, skip rev $rev"
139 echo "Skip existing results for $rev / $name"
140 echo "$rev $res" >> $name.out
148 cut -f1 -d"#" < changesets.txt | grep -E '[[:alnum:]]' | while read rev
150 if [ ! -z '$rev' ]; then
151 rev2=`echo $rev | cut -f 2 -d':'`
152 echo "Testing rev $rev, $rev2"
155 actual_rev=`git rev-parse --short HEAD`