Re-measure for 2000 time steps

This commit is contained in:
Maximilian Gaul 2022-02-04 17:40:12 +01:00 committed by Maximilian Gaul
parent 696e6da01d
commit b024adaf5b
2 changed files with 8 additions and 3 deletions

View File

@ -0,0 +1,5 @@
END=32
for ((i=16;i<=END;i++)); do
export NUM_THREADS=$i
$(eval "ncu --set full -o /home/hpc/rzku/ptfs410h/MD-Bench/log/MG/presentation_2/Resources/GPU/Metrics/threads_$i ./MDBench-NVCC -n 50")
done

View File

@ -1,6 +1,6 @@
END=32
for ((i=1;i<=END;i++)); do
output=$(eval "NUM_THREADS=$i ./MDBench-NVCC -n 50")
END=64
for ((i=1;i<=END;i*=2)); do
output=$(eval "NUM_THREADS=$i ./MDBench-NVCC -n 2000")
echo -n "$i,"
echo "$output" | grep 'atom updates per second' | sed 's/[^0-9.,]//g' | awk '{print $1"e6"}'
done