separated playing games from run function
This commit is contained in:
1 parent
34f5bbdd43
commit
c0b76d81bb
5 files changed
+50
-41
No files matched your search
+2
-2
@@ -21,7 +21,7 @@ constexpr U64 maxHash = (64* 1000000) / sizeof(TTEntry);
|
||||
// 5 MB
|
||||
constexpr U64 defaultHash = (5 * 1000000) / sizeof(TTEntry);
|
||||
|
||||
inline U64 hashSize = defaultHash;
|
||||
thread_local inline U64 hashSize = defaultHash;
|
||||
|
||||
constexpr int invalidEntry = 111111;
|
||||
|
||||
@@ -61,4 +61,4 @@ public:
|
||||
void WriteEntry(U64 &hashKey, int depth, int score, int nodeType, Move besteMove);
|
||||
};
|
||||
|
||||
inline TTable TT;
|
||||
thread_local inline TTable TT;
|
||||
Reference in new issue
Block a user