diff --git a/source/search.cpp b/source/search.cpp index a4d83f2..1758723 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -585,7 +585,7 @@ static SearchResults ID(Board &board, SearchParams params, SearchContext& ctx) { std::cout << "depth " << depth; std::cout << " seldepth " << ctx.seldepth; std::cout << " time " << elapsed; - std::cout << " score cp " << UTILS::ConvertToWhiteRelative(board, safeResults.score); + std::cout << " score cp " << safeResults.score; std::cout << " nodes " << ctx.nodes << " nps " << int(ctx.nodes/ctx.sw.GetElapsedSec()); std::cout << " hashfull " << ctx.TT.GetUsedPercentage(); std::cout << " pv "; diff --git a/source/tt.h b/source/tt.h index ef47185..537549b 100644 --- a/source/tt.h +++ b/source/tt.h @@ -32,9 +32,9 @@ public: } }; -// 64 MB +// 1024 MB constexpr U64 maxHash = (1024 * 1000000) / sizeof(TTEntry); -// 5 MB +// 8 MB constexpr U64 defaultHash = (8 * 1000000) / sizeof(TTEntry); constexpr int invalidEntry = 111111;