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

Update Makefile and tests #23

Merged
merged 6 commits into from
Feb 16, 2024
Merged

Update Makefile and tests #23

merged 6 commits into from
Feb 16, 2024

Conversation

ruicoelhopedro
Copy link
Owner

@ruicoelhopedro ruicoelhopedro commented Feb 10, 2024

Several updates on the CI tests to include debugging with sanitisers. The following steps have been added for a single Ubuntu worker:

  • Run bench without optimisations
  • Run bench with the address sanitiser
  • Run bench with the undefined behaviour sanitiser
  • Run small bench (depth 11) with the thread sanitiser (4 threads)
  • Run small bench (depth 11) with valgrind

To automate build flags, options for debug mode and sanitisers have been to the Makefile.
Also, -Wextra has been added, and some minor fixes have been made to silence some warnings.
Finally, the computation of hashfull has been updated to fix a possible race condition and the hash of the TT entries are initialised to zero (to prevent warnings from valgrind).

Non-regression STC:
LLR: 2.94/2.94<-6.00, 0.00> Elo diff: 1.90 [-1.49, 5.29] (95%)
Games: 8238 W: 1024 L: 979 D: 6235 Draw ratio: 75.7%
Pntl: [45, 640, 2703, 687, 44]

No functional change

@ruicoelhopedro ruicoelhopedro merged commit d07a9e8 into main Feb 16, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant