mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
Hide NNUE options if building without NNUE support
Also remove an unused option.
This commit is contained in:
+3
-2
@@ -80,6 +80,7 @@ void init(OptionsMap& o) {
|
|||||||
o["SyzygyProbeDepth"] << Option(1, 1, 100);
|
o["SyzygyProbeDepth"] << Option(1, 1, 100);
|
||||||
o["Syzygy50MoveRule"] << Option(true);
|
o["Syzygy50MoveRule"] << Option(true);
|
||||||
o["SyzygyProbeLimit"] << Option(7, 0, 7);
|
o["SyzygyProbeLimit"] << Option(7, 0, 7);
|
||||||
|
#ifdef EVAL_NNUE
|
||||||
// Evaluation function file name. When this is changed, it is necessary to reread the evaluation function at the next ucinewgame timing.
|
// Evaluation function file name. When this is changed, it is necessary to reread the evaluation function at the next ucinewgame timing.
|
||||||
// Without the preceding "./", some GUIs can not load he net file.
|
// Without the preceding "./", some GUIs can not load he net file.
|
||||||
o["EvalFile"] << Option("./eval/nn.bin", on_eval_file);
|
o["EvalFile"] << Option("./eval/nn.bin", on_eval_file);
|
||||||
@@ -90,8 +91,8 @@ void init(OptionsMap& o) {
|
|||||||
// Hit the test eval convert command.
|
// Hit the test eval convert command.
|
||||||
o["SkipLoadingEval"] << Option(false);
|
o["SkipLoadingEval"] << Option(false);
|
||||||
// how many moves to use a fixed move
|
// how many moves to use a fixed move
|
||||||
o["BookMoves"] << Option(16, 0, 10000);
|
// o["BookMoves"] << Option(16, 0, 10000);
|
||||||
|
#endif
|
||||||
#if defined(EVAL_LEARN)
|
#if defined(EVAL_LEARN)
|
||||||
// When learning the evaluation function, you can change the folder to save the evaluation function.
|
// When learning the evaluation function, you can change the folder to save the evaluation function.
|
||||||
// Evalsave by default. This folder shall be prepared in advance.
|
// Evalsave by default. This folder shall be prepared in advance.
|
||||||
|
|||||||
Reference in New Issue
Block a user