| 1 |
exec=$1 |
| 2 |
numacmd="numactl --membind 1" |
| 3 |
testfile=$exec.thread.txt |
| 4 |
rm -f $testfile |
| 5 |
|
| 6 |
echo $exec > $testfile |
| 7 |
|
| 8 |
for th in 1 2 4 8 16 34 68; do |
| 9 |
echo "$numacmd ./$exec --kokkos-threads=$th >> $testfile" |
| 10 |
$numacmd ./$exec --kokkos-threads=$th >> $testfile |
| 11 |
done |