#include <vector>
-#include "evaluate.h"
#include "material.h"
#include "movepick.h"
#include "pawns.h"
#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 {
void wait_for_stop_or_ponderhit();
SplitPoint splitPoints[MAX_SPLITPOINTS_PER_THREAD];
- Eval::Table evalTable;
- MaterialTable materialTable;
- PawnTable pawnTable;
+ Material::Table materialTable;
+ Endgames endgames;
+ Pawns::Table pawnsTable;
size_t idx;
int maxPly;
Mutex mutex;