Open mateusz2173 opened 4 months ago
Should be done after #17 and #19
Is this called Lazy SMP? https://www.chessprogramming.org/Lazy_SMP
Lazy SMP has different depths for different threads.
It's almost the same.
LazySMP afaik runs from different depths to enforce more "randomness" in populating TT
We could have lazysmp immediately if anyone decides what I described in original post is too easy :P i believe lazysmp might be better from what I suggested
I'm fine with a simpler solution. It would be even better to actually implement it first and then benchmark how much we gained from "real" LazySMP
We want to enable simple multithreaded search as follows:
setoption
command like this:setoption name Threads value <int>
which will set desired number of threads (1 by default)Let's say N = number of threads
info
orbestmove
etc)The main reason we do that is additional threads will populate transposition table making main thread search quicker.
This is not ideal utilization of multiple threads but it is good enough for us for now.