Merge pull request #56 from rektdie/net1

bench 994526
This commit was merged in pull request #56.
This commit is contained in:
rektdie authored and GitHub committed 2025-04-21 14:19:07 +02:00
commit a372ff3894
3 files changed
+3 -3

No files matched your search

BIN
View File
Binary file not shown.
+1 -1
View File
@@ -115,7 +115,7 @@ static void PlayGames(int id, std::atomic<int>& positions, std::atomic<bool>& st
SearchResults safeResults; SearchResults safeResults;
int staticEval = UTILS::ConvertToWhiteRelative(board, HCE::Evaluate(board)); int staticEval = UTILS::ConvertToWhiteRelative(board, NNUE::net.Evaluate(board));
int wdl = 1; int wdl = 1;
while (!IsGameOver(board, ctx)) { while (!IsGameOver(board, ctx)) {
+2 -2
View File
@@ -150,7 +150,7 @@ static SearchResults Quiescence(Board& board, int alpha, int beta, int ply, Sear
} }
} }
int bestScore = HCE::Evaluate(board); int bestScore = NNUE::net.Evaluate(board);
TTEntry *entry = ctx.TT.GetRawEntry(board.hashKey); TTEntry *entry = ctx.TT.GetRawEntry(board.hashKey);
if (entry->hashKey == board.hashKey) { if (entry->hashKey == board.hashKey) {
@@ -234,7 +234,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
if (depth <= 0) return Quiescence<mode>(board, alpha, beta, ply, ctx); if (depth <= 0) return Quiescence<mode>(board, alpha, beta, ply, ctx);
const int staticEval = HCE::Evaluate(board); const int staticEval = NNUE::net.Evaluate(board);
if (!board.InCheck()) { if (!board.InCheck()) {
if (ply) { if (ply) {