From: Joost VandeVondele Date: Sat, 3 Sep 2022 09:15:40 +0000 (+0200) Subject: Increase the maximum number of threads to 1024 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=dddf8fc2b4867bad8b01fe3a18266c3677f3f726;p=stockfish Increase the maximum number of threads to 1024 relatively soon servers with 512 threads will be available 'quite commonly', anticipate even more threads, and increase our current maximum from 512 to 1024. closes https://github.com/official-stockfish/Stockfish/pull/4152 No functional change. --- diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 922fa34f..9fb48345 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -61,7 +61,7 @@ void init(OptionsMap& o) { constexpr int MaxHashMB = Is64Bit ? 33554432 : 2048; o["Debug Log File"] << Option("", on_logger); - o["Threads"] << Option(1, 1, 512, on_threads); + o["Threads"] << Option(1, 1, 1024, on_threads); o["Hash"] << Option(16, 1, MaxHashMB, on_hash_size); o["Clear Hash"] << Option(on_clear_hash); o["Ponder"] << Option(false);