Skip to content
Snippets Groups Projects
Commit ac234cb6 authored by gkusoglu's avatar gkusoglu
Browse files

correcting verify script

parent 6793558a
Branches
No related merge requests found
......@@ -4,14 +4,14 @@ gcc -O3 -march=native -fopenmp -I ../utilities ../utilities/polybench.c $1.c -D
gcc -O3 -march=native -fopenmp -I ../utilities ../utilities/polybench.c $2.c -DPOLYBENCH_DUMP_ARRAYS -D$3_DATASET -o $2 -lm
./$1 > $1.log 2>&1
./$1 > $1.log1 2>&1
./$2 > $2.log 2>&1
./$2 > $2.log2 2>&1
if cmp -s $1.log $2.log
if cmp -s $1.log1 $2.log2
then
echo "The files match"
rm $1.log $2.log
rm $1.log1 $2.log2
else
echo "The files are different"
fi
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment