diff --git a/benchmarks/benchmark-results/copy-debug-n0ton0-cpu.json b/benchmarks/benchmark-results/copy-debug-n0ton0-cpu.json new file mode 100644 index 0000000..44b06ca --- /dev/null +++ b/benchmarks/benchmark-results/copy-debug-n0ton0-cpu.json @@ -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]} \ No newline at end of file diff --git a/benchmarks/benchmark-descriptors/benchmarker.sh b/benchmarks/benchmarker.sh similarity index 59% rename from benchmarks/benchmark-descriptors/benchmarker.sh rename to benchmarks/benchmarker.sh index b7be76e..055e41a 100644 --- a/benchmarks/benchmark-descriptors/benchmarker.sh +++ b/benchmarks/benchmarker.sh @@ -1,16 +1,9 @@ #!/bin/bash -# Check if the correct number of arguments is provided -if [ "$#" -ne 4 ]; then - echo "Usage: $0 " - 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" fi done