Skip to content

Commit

Permalink
Make repeated bench runs identical
Browse files Browse the repository at this point in the history
fixes #5376
closes #5377

No functional changes
  • Loading branch information
cj5716 authored and Disservin committed Jun 8, 2024
1 parent 4151c06 commit e271059
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ void TranspositionTable::resize(size_t mbSize, ThreadPool& threads) {
// Initializes the entire transposition table to zero,
// in a multi-threaded way.
void TranspositionTable::clear(ThreadPool& threads) {
generation8 = 0;
const size_t threadCount = threads.num_threads();

for (size_t i = 0; i < threadCount; ++i)
Expand Down

0 comments on commit e271059

Please sign in to comment.