Skip to content
Snippets Groups Projects
Commit 6f766173 authored by Daniel Maier's avatar Daniel Maier
Browse files

collect data for seidel-2d

parent 8b6c9b58
No related branches found
No related tags found
No related merge requests found
......@@ -157,6 +157,29 @@ doitgen() {
rm "$tmpfile"
}
seidel_2d() {
target=codes/seidel-2d/seidel-2d
# accurate
output="$(dirname ${target})/$(basename ${target})"
compile "${output}.c" "${output}" "codes/seidel-2d/data.o"
printf "seidel-2d,,," >> ${LOG}
./${output} >> ${LOG}
get_scop "${target}.c" "${target}_perf.c"
get_info "${target}.c.openscop"
while read x y; do
output="$(dirname ${target})/${x}_${y}_$(basename ${target})"
perforate "${target}.c" "${output}.c" "$x" "$y"
echo compile "${output}.c" "${output}"
compile "${output}.c" "${output}" "codes/seidel-2d/data.o"
printf "seidel-2d,%s,%s," "${x}" "${y}" >> ${LOG}
./${output} >> ${LOG}
done < $tmpfile
rm "$tmpfile"
}
hotspot() {
target=codes/hotspot/hotspot_openmp
......@@ -187,3 +210,4 @@ deriche
floyd_warshall
hotspot
doitgen
seidel_2d
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment