X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=7945a4535ca4eb82dfc65ae4d4a3834839ca5801;hb=dabaf2220fe0c77400a5f71a91952f510e6a126b;hp=806e98401a466b93ba4204e6c0dd3a966c2068b8;hpb=ea6220f3813e5b76b444a02905eaf2c556bdb368;p=stockfish diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 806e9840..7945a453 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -1,6 +1,6 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 - Copyright (C) 2004-2020 The Stockfish developers (see AUTHORS file) + Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -92,6 +92,8 @@ const vector Defaults = { } // namespace +namespace Stockfish { + /// setup_bench() builds a list of UCI commands to be run by bench. There /// are five parameters: TT size in MB, number of search threads that /// should be used, the limit value spent for each position, a file name @@ -164,5 +166,9 @@ vector setup_bench(const Position& current, istream& is) { ++posCounter; } + list.emplace_back("setoption name Use NNUE value true"); + return list; } + +} // namespace Stockfish