gen-input.py
This is a python script that generates workloads for 541.leela_r
benchmark included in the SPEC CPU2017 benchmark suite.
python gen-input.py [options]
The available options are:
--name STRING | -n STRING
the name of the workload--count INTEGER | -c INTEGER
the number of games to include in the workload.--removes MIN,MAX | -r MIN,MAX
the number of moves to remove from the end of the game. It will remove a random integer between MIN
and MAX
. MIN
and MAX
must be integers.--boardsize INTEGER | -b INTEGER
size of the board to use.--seed INTEGER
random seed.Many different instances of go games were obtained from the logs of the now defunct No Name Go Server available at: https://github.com/zenon/NNGSSGFArchive . Using these games we pick a random finished games and remove a random number of moves from the end game. These random number is between MIN
and MAX
which was set in the --removes
option.