From: Stéphane Nicolet Date: Sun, 13 Jun 2021 07:59:34 +0000 (+0200) Subject: Clarify use of UCI options X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=7819412002374fac5ebf7bec1e49a25481f1c42b Clarify use of UCI options Update README.md to clarify use of UCI options closes https://github.com/official-stockfish/Stockfish/pull/3540 No functional change --- diff --git a/README.md b/README.md index 926d568d..f4ee2e34 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,14 @@ This distribution of Stockfish consists of the following files: ## The UCI protocol and available options -The Universal Chess Interface (UCI) is a standard protocol used to communicate with a chess engine, -and is the recommended way to do so for typical graphical user interfaces (GUI) or chess tools. - -Stockfish implements most commands as described in [the UCI protocol](https://www.shredderchess.com/download/div/uci.zip) - -For users, the following UCI options, which can typically be set via a GUI, are available in Stockfish: +The Universal Chess Interface (UCI) is a standard protocol used to communicate with +a chess engine, and is the recommended way to do so for typical graphical user interfaces +(GUI) or chess tools. Stockfish implements the majority of it options as described +in [the UCI protocol](https://www.shredderchess.com/download/div/uci.zip). + +Developers can see the default values for UCI options available in Stockfish by typing +`./stockfish uci` in a terminal, but the majority of users will typically see them and +change them via a chess GUI. This is a list of available UCI options in Stockfish: * #### Threads The number of CPU threads used for searching a position. For best performance, set diff --git a/src/nnue/nnue_common.h b/src/nnue/nnue_common.h index 390f61c3..75ac7862 100644 --- a/src/nnue/nnue_common.h +++ b/src/nnue/nnue_common.h @@ -148,7 +148,7 @@ namespace Stockfish::Eval::NNUE { out[i] = read_little_endian(stream); } - // write_little_endian(s, out, N) : write integers in bulk to a little indian stream. + // write_little_endian(s, values, N) : write integers in bulk to a little indian stream. // This takes N integers from array values and writes them on stream s. template inline void write_little_endian(std::ostream& stream, const IntType* values, std::size_t count) {