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 {
|
try {
|
||||||
while (!stopFlag && !g_shutdownRequested) {
|
while (!stopFlag && !g_shutdownRequested) {
|
||||||
Board board;
|
Board board;
|
||||||
|
TTable DatagenTT;
|
||||||
auto ctx = std::make_unique<SEARCH::SearchContext>();
|
auto ctx = std::make_unique<SEARCH::SearchContext>();
|
||||||
|
ctx->TT = &DatagenTT;
|
||||||
|
|
||||||
PlayRandMoves(board, ctx.get());
|
PlayRandMoves(board, ctx.get());
|
||||||
if (IsGameOver(board, ctx.get())) continue;
|
if (IsGameOver(board, ctx.get())) continue;
|
||||||
|
|||||||
Reference in new issue
Block a user