MD-Bench/evaluate_gpu_perf_per_thread.sh

7 lines
205 B
Bash
Raw Normal View History

2022-02-04 17:40:12 +01:00
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