first net | bench 1401589
This commit is contained in:
1 parent
658d72480d
commit
c9354d215d
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user