Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🦈 IMP: Switch to BS Thread Pool Library #37

Merged
merged 11 commits into from
Aug 17, 2023
Merged

Conversation

TheBlackPlague
Copy link
Owner

🎯 Summary

This PR switches from the currently used Thread Pool Library to the BS Thread Pool Library. The new thread pool library supports more platforms (including MacOS).

Furthermore, Parallel PERFT computation has been re-enabled and partially implemented with the use of C++ Standard Library std::future and BS Thread Pool Blocks. The combination allows for much faster PERFT computation than before, with about 60Mnps being gained per thread.

👏 Acknowledgements

NA

📈 ELO

STC:

ELO   | 0.96 +- 2.62 (95%)
SPRT  | 10.0+0.10s Threads=1 Hash=16MB
LLR   | 2.97 (-2.94, 2.94) [-3.00, 1.00]
GAMES | N: 34984 W: 9105 L: 9008 D: 16871

LTC:

ELO   | 0.96 +- 2.52 (95%)
SPRT  | 60.0+0.60s Threads=1 Hash=256MB
LLR   | 3.02 (-2.94, 2.94) [-3.00, 1.00]
GAMES | N: 35464 W: 8669 L: 8571 D: 18224

@TheBlackPlague TheBlackPlague added = ELO This change doesn't alter ELO. = DOC This change doesn't improve the documentation. labels Aug 17, 2023
@TheBlackPlague TheBlackPlague self-assigned this Aug 17, 2023
@TheBlackPlague TheBlackPlague marked this pull request as ready for review August 17, 2023 08:22
@TheBlackPlague TheBlackPlague merged commit 0faabb5 into master Aug 17, 2023
@TheBlackPlague TheBlackPlague deleted the bs-thread-pool branch August 17, 2023 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
= DOC This change doesn't improve the documentation. = ELO This change doesn't alter ELO.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant