Fast Perft utility with Magic Bitboards and Hashing
Posted: Sun Jan 19, 2014 4:17 pm
While rampaging around the Wild Wild Web, I ran across a comparatively new perft utility at https://github.com/ankan-ban/perft_cpu. It was written in the summer of 2013 by Ankan Banerjee, and there is a series of forum postings about it here: http://www.talkchess.com/forum/viewtopic.php?t=48387
The utility's speed is impressive: it is one of the fastest perft counters I've encountered and out-performed my current favorite (frcperft) by almost a 4:1 ratio on a 64-bit Windows system. After several hours of testing--including multiple test positions designed to trip up perft counters--the results have been 100% accurate out to a depth of 7.
The pre-compiled binaries (Windows only) don't use transposition tables, but the source code is adequately documented and it was simple to recompile with hashing enabled. There are also versions designed to use NVIDIA GPUs (CUDA) but I was not able to test these.
Cheers!
Humble Programmer
,,,^..^,,,
The utility's speed is impressive: it is one of the fastest perft counters I've encountered and out-performed my current favorite (frcperft) by almost a 4:1 ratio on a 64-bit Windows system. After several hours of testing--including multiple test positions designed to trip up perft counters--the results have been 100% accurate out to a depth of 7.
The pre-compiled binaries (Windows only) don't use transposition tables, but the source code is adequately documented and it was simple to recompile with hashing enabled. There are also versions designed to use NVIDIA GPUs (CUDA) but I was not able to test these.
Cheers!
Humble Programmer
,,,^..^,,,