Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 23, 2022. It is now read-only.
This repository was archived by the owner on Sep 23, 2022. It is now read-only.

Compile with openmp and -O3 #7

@mitchmcdee

Description

@mitchmcdee

Hey :) awesome work! I used this for my own bot and it worked an absolute treat.

I managed to improve the performance significantly by adding -O3 optimisations and wrapping the main search for loop with #pragma omp parallel for and compiling with openmp. On my 2014 MacBook Pro Retina laptop it can now solve depth = 3 in ~0.1s and depth = 4 in ~2.7s.

Happy to throw up a patch when I have some time, but figured I'd document here for anyone reading :)

Thanks again for the great open source contribution!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions