mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Set maximum hash table size to 2GB
We cannot allocate more then 2 GB, so let the limit reflect this. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
bc0871acbc
commit
3dc9f95225
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ TranspositionTable::~TranspositionTable() {
|
||||||
|
|
||||||
void TranspositionTable::set_size(unsigned mbSize) {
|
void TranspositionTable::set_size(unsigned mbSize) {
|
||||||
|
|
||||||
assert(mbSize >= 4 && mbSize <= 4096);
|
assert(mbSize >= 4 && mbSize <= 2048);
|
||||||
|
|
||||||
unsigned newSize = 1024;
|
unsigned newSize = 1024;
|
||||||
|
|
||||||
|
|
|
@ -123,7 +123,7 @@ namespace {
|
||||||
o["Minimum Split Depth"] = Option(4, 4, 7);
|
o["Minimum Split Depth"] = Option(4, 4, 7);
|
||||||
o["Maximum Number of Threads per Split Point"] = Option(5, 4, 8);
|
o["Maximum Number of Threads per Split Point"] = Option(5, 4, 8);
|
||||||
o["Threads"] = Option(1, 1, 8);
|
o["Threads"] = Option(1, 1, 8);
|
||||||
o["Hash"] = Option(32, 4, 4096);
|
o["Hash"] = Option(32, 4, 2048);
|
||||||
o["Clear Hash"] = Option(false, BUTTON);
|
o["Clear Hash"] = Option(false, BUTTON);
|
||||||
o["New Game"] = Option(false, BUTTON);
|
o["New Game"] = Option(false, BUTTON);
|
||||||
o["Ponder"] = Option(true);
|
o["Ponder"] = Option(true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue