mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Increase MAX_THREADS to 64
And document why this is an hard limit. It seems for some (lucky) people 32 threads are not enough. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#include "position.h"
|
||||
#include "search.h"
|
||||
|
||||
const int MAX_THREADS = 32;
|
||||
const int MAX_THREADS = 64; // Because SplitPoint::slavesMask is a uint64_t
|
||||
const int MAX_SPLITPOINTS_PER_THREAD = 8;
|
||||
|
||||
struct Mutex {
|
||||
|
||||
Reference in New Issue
Block a user