diff options
| author | Scott Gasch <[email protected]> | 2026-08-26 06:58:26 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2026-08-26 06:58:26 -0700 |
| commit | df0135e11e9ea3dd0acab94fdf437451ef7e522b (patch) | |
| tree | eb480504ff578878ee4de17778601f1ffc042827 /src/main.c | |
| parent | dd40b5e159ebcf029ee0c36711a5a74a8370b18d (diff) | |
Make EVAL_HASH optional.
Diffstat (limited to 'src/main.c')
| -rwxr-xr-x | src/main.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -79,10 +79,16 @@ Return value: #ifdef DUMP_TREE Trace(" Search tree dumpfile generation enabled\n"); #endif - Trace(" Hash sizes: %u Mb (main), %u Mb / thread (pawn), %u Mb / thread (eval)\n", +#ifdef EVAL_HASH + Trace(" Hash sizes: %u Mb (main), %u Mb / thread (pawn), %u Mb / thread (eval)\n", (g_uHashTableSizeEntries * sizeof(HASH_ENTRY)) / MB, PAWN_HASH_TABLE_SIZE * sizeof(PAWN_HASH_ENTRY) / MB, EVAL_HASH_TABLE_SIZE * sizeof(EVAL_HASH_ENTRY) / MB); +#else + Trace(" Hash sizes: %u Mb (main), %u Mb / thread (pawn)\n", + (g_uHashTableSizeEntries * sizeof(HASH_ENTRY)) / MB, + PAWN_HASH_TABLE_SIZE * sizeof(PAWN_HASH_ENTRY) / MB); +#endif Trace(" QCheckPlies: %u\n", QPLIES_OF_NON_CAPTURE_CHECKS); Trace(" FutilityBase: %u\n", FUTILITY_BASE_MARGIN); p = ExportEvalDNA(); |
