[fix] Update benchmark sunner script with the new package naming
# Authors: James Clarkson
#
-PACKAGE="tornado.benchmarks"
+PACKAGE="uk.ac.manchester.tornado.benchmarks"
BENCHMARKS="sadd saxpy sgemm dgemm spmv addvector dotvector rotatevector rotateimage convolvearray convolveimage"
MAIN_CLASS="Benchmark"
@@ -64,14 +64,14 @@ if [ -e ${TORNADO_ROOT}/.git ]; then
echo $(git rev-parse HEAD) > "${BM_ROOT}/git.sha"
fi
-${TORNADO_CMD} -Xms8G -Ddevices=${DEVICES} -Dstartsize=2 -Dendsize=16777216 tornado.benchmarks.DataMovement > "${BM_ROOT}/data-movement.csv"
+${TORNADO_CMD} -Xms8G -Ddevices=${DEVICES} -Dstartsize=2 -Dendsize=16777216 uk.ac.manchester.tornado.benchmarks.DataMovement > "${BM_ROOT}/data-movement.csv"
for bm in ${BENCHMARKS}; do
for (( i=0; i<${ITERATIONS}; i++ )); do
echo "running ${i} ${bm} ..."
OUTFILE="${LOGFILE}-${bm}-${i}.log"
- ${TORNADO_CMD} ${TORNADO_FLAGS} -Ddevices=${DEVICES} tornado.benchmarks.BenchmarkRunner ${bm} >> "${OUTFILE}"
- ${TORNADO_ROOT}/bin/convert2csv.sh ${OUTFILE}
+ ${TORNADO_CMD} ${TORNADO_FLAGS} -Ddevices=${DEVICES} uk.ac.manchester.tornado.benchmarks.BenchmarkRunner ${bm} >> "${OUTFILE}"
+ ${TORNADO_ROOT}assembly/src/bin/convert2csv.sh ${OUTFILE}
done
done
