From dddf8fc2b4867bad8b01fe3a18266c3677f3f726 Mon Sep 17 00:00:00 2001 From: Joost VandeVondele Date: Sat, 3 Sep 2022 11:15:40 +0200 Subject: [PATCH] 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. --- src/ucioption.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2