Skip to content
Snippets Groups Projects
Commit 50db5c15 authored by Lukáš Čejka's avatar Lukáš Čejka Committed by Tomáš Oberhuber
Browse files

Change spmv log file name to include name of the matrix file.

parent 99d42182
No related branches found
No related tags found
1 merge request!45Matrices revision
...@@ -58,11 +58,13 @@ do ...@@ -58,11 +58,13 @@ do
do do
echo "======================================================================================================" echo "======================================================================================================"
echo "Benchmarking with the matrix $file ..." echo "Benchmarking with the matrix $file ..."
mtx_file_name=`basename $file`
mtx_file_name=${mtx_file_name%.mtx}
if test x$DEBUG = xyes; if test x$DEBUG = xyes;
then then
gdb --args $BENCHMARK --input-file $file --log-file log-files/sparse-matrix-benchmark::$SUBDIRNAME.log --verbose 1 gdb --args $BENCHMARK --input-file $file --log-file log-files/sparse-matrix-benchmark::$mtx_file_name.log --verbose 1
else else
$BENCHMARK --input-file $file --log-file log-files/sparse-matrix-benchmark::$SUBDIRNAME.log --verbose 1 $BENCHMARK --input-file $file --log-file log-files/sparse-matrix-benchmark::$mtx_file_name.log --verbose 1
fi fi
done done
fi fi
......
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