2021-12-18 13:02:04 +01:00
|
|
|
END=32
|
|
|
|
for ((i=1;i<=END;i++)); do
|
|
|
|
output=$(eval "NUM_THREADS=$i ./MDBench-NVCC -n 50")
|
2021-12-18 15:58:56 +01:00
|
|
|
echo -n "$i,"
|
|
|
|
echo "$output" | grep 'atom updates per second' | sed 's/[^0-9.,]//g' | awk '{print $1"e6"}'
|
2021-12-18 13:02:04 +01:00
|
|
|
done
|