@ -0,0 +1 @@
{"count":1,"list":[{"affinity":{"nnode_dst":0,"nnode_src":0,"node":0},"report":{"iterations_completed":0,"status":"ok"},"task":{"batch_size":0,"size":1024}}],"path":"sw","timings":[458943,426883,475809,465337,458535,437789,449605,451021,461939,441250]}
@ -1,16 +1,9 @@
#!/bin/bash
# Check if the correct number of arguments is provided
if [ "$#" -ne 4 ]; then
echo "Usage: $0 <program_location> <descriptor-directory> <output-directory> <file-extender>"
exit 1
fi
# Assign arguments to variables
program_location="$1"
json_directory="$2"
output_dir="$3"
file_extender="$4"
program_location="cmake-build-release/dml-benchmark"
json_directory="$1"
output_dir="benchmark-results/"
# Check if the specified directory exists
if [ ! -d "$json_directory" ]; then
@ -26,6 +19,6 @@ for json_file in "$json_directory"/*.json; do
bn=$(basename $json_file)
name="${bn%.*}"
echo "running test ${name} ..."
"$program_location" "$json_file" "${output_dir}/${name}${file_extender}.json"
"$program_location" "$json_file" "${output_dir}/${name}.json"
done