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

added global script

parent c2eeff85
Branches
No related merge requests found
#!/bin/bash
gcc -O3 -march=native -fopenmp -I ../../../utilities ../../../utilities/polybench.c $1.c -DPOLYBENCH_TIME -D$2_DATASET -o $1 -lm
for i in {0..100}
do
if [[ $3 == "yes" ]] ; then
medianne[$i]=`OMP_PROC_BIND=true OMP_NUM_THREADS=12 ./$1 2>&1`
else
medianne[$i]=`./$1 2>&1`
fi
echo -n "|"${medianne[$i]}
done
medianne_trie=( $(printf "%s\n" ${medianne[*]} | sort -n) )
echo "real : "${medianne_trie[0]}
\ No newline at end of file
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