X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fucioption.cpp;h=dc1effa856f50c2d29de6c9dd3040913b68ee9f7;hp=9bcd960b6a157f535d44dfaa030f64d1519849ef;hb=27393ebae2e689c86f77777d3ba9aae39b9c89b8;hpb=6a6facc058e5f08ccd07815a6e619eb0d2451000 diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 9bcd960b..dc1effa8 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -116,8 +116,6 @@ namespace { o["Passed Pawn Extension (non-PV nodes)"] = Option(0, 0, 2); o["Pawn Endgame Extension (PV nodes)"] = Option(2, 0, 2); o["Pawn Endgame Extension (non-PV nodes)"] = Option(2, 0, 2); - o["Full Depth Moves (PV nodes)"] = Option(10, 1, 100); - o["Full Depth Moves (non-PV nodes)"] = Option(3, 1, 100); o["Threat Depth"] = Option(5, 0, 100); o["Randomness"] = Option(0, 0, 10); o["Minimum Split Depth"] = Option(4, 4, 7); @@ -198,10 +196,14 @@ void init_uci_options() { // Set optimal value for parameter "Minimum Split Depth" // according to number of available cores. + assert(options.find("Threads") != options.end()); assert(options.find("Minimum Split Depth") != options.end()); + Option& thr = options["Threads"]; Option& msd = options["Minimum Split Depth"]; + thr.defaultValue = thr.currentValue = stringify(cpu_count()); + if (cpu_count() >= 8) msd.defaultValue = msd.currentValue = stringify(7); }