mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Retire cpu_count()
Set threads number always to 1 at startup and let the user explicitly to chose the number of threads. Also preserve the useful behavior of automatically set "Min Split Depth" according to the requested threads, indeed this parameter is too technical for a casual user, so, when left to zero, we set it on a sensible value. No functional change
This commit is contained in:
committed by
Marco Costalba
parent
408e6ee9b6
commit
a16ba5bbd1
@@ -27,7 +27,6 @@
|
||||
#include "types.h"
|
||||
|
||||
extern const std::string engine_info(bool to_uci = false);
|
||||
extern int cpu_count();
|
||||
extern void timed_wait(WaitCondition&, Lock&, int);
|
||||
extern void prefetch(char* addr);
|
||||
extern void start_logger(bool b);
|
||||
|
||||
Reference in New Issue
Block a user