Re: [Bug-gnubg] Threaded rollouts and RNGs

2017-02-08 Thread Philippe Michel
On Tue, 7 Feb 2017, Michael Petch wrote: On 2017-02-07 15:34, Philippe Michel wrote: Moreover, the UI is quite fragile since one can set the rng to something not thread-safe like "file" or "random.org". The defaut mersenne rng is ok, though. With it, for a given position and seed, the result i

Re: [Bug-gnubg] Threaded rollouts and RNGs

2017-02-07 Thread Michael Petch
On 2017-02-07 15:34, Philippe Michel wrote: > Moreover, the UI is quite fragile since one can set the rng to something > not thread-safe like "file" or "random.org". The defaut mersenne rng is > ok, though. With it, for a given position and seed, the result is the > same for any numbers of thread

Re: [Bug-gnubg] Threaded rollouts and RNGs

2017-02-07 Thread Philippe Michel
On Wed, 1 Feb 2017, Øystein Schønning-Johansen wrote: The rollout code in GNU Backgammon is of course threaded. How is this threaded actually? Is it threaded on each sample (aka each game). One thread pr. game? Or one thread pr. evaluation? Or? I'm not sure I really understand how it is done,

Re: [Bug-gnubg] Threaded rollouts and RNGs

2017-02-03 Thread Ian Shaw
...@gnu.org] On Behalf Of Øystein Schønning-Johansen Sent: 01 February 2017 10:11 To: bug-gnubg@gnu.org Subject: [Bug-gnubg] Threaded rollouts and RNGs Hi! It's a long time since I browsed the GNU Backgammon code now. :-) The rollout code in GNU Backgammon is of course threaded. How is this thr

[Bug-gnubg] Threaded rollouts and RNGs

2017-02-01 Thread Øystein Schønning-Johansen
Hi! It's a long time since I browsed the GNU Backgammon code now. :-) The rollout code in GNU Backgammon is of course threaded. How is this threaded actually? Is it threaded on each sample (aka each game). One thread pr. game? Or one thread pr. evaluation? Or? I just wrote a code that does a thr