separate tt for datagen | bench 1743358

This commit is contained in:
rektdie committed 2026-03-03 20:45:18 +01:00
1 parent 0d126aa6a7
commit 345c6d21d9
1 file changed
+2
+2
View File
@@ -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;