separate tt for datagen | bench 1743358
This commit is contained in:
1 parent
0d126aa6a7
commit
345c6d21d9
1 file changed
+2
@@ -374,7 +374,9 @@ static void PlayGames(int id, std::atomic<int>& positions, std::atomic<bool>& st
|
||||
try {
|
||||
while (!stopFlag && !g_shutdownRequested) {
|
||||
Board board;
|
||||
TTable DatagenTT;
|
||||
auto ctx = std::make_unique<SEARCH::SearchContext>();
|
||||
ctx->TT = &DatagenTT;
|
||||
|
||||
PlayRandMoves(board, ctx.get());
|
||||
if (IsGameOver(board, ctx.get())) continue;
|
||||
|
||||
Reference in new issue
Block a user