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

Option to enable AVX-512 #2141

Open
maximmasiutin opened this issue Nov 16, 2024 · 0 comments
Open

Option to enable AVX-512 #2141

maximmasiutin opened this issue Nov 16, 2024 · 0 comments

Comments

@maximmasiutin
Copy link
Contributor

Please consider adding an option to enable AVX-512 support in Fishtest. This option could be implemented as a command-line parameter, an environment variable, or both. Currently, AVX-512 is disabled in Fishtest to prevent potential CPU frequency drops that can occur with AVX-512-intensive code.

Even though CPUs may support AVX-512, Fishtest does not compile Stockfish with AVX-512 instructions to avoid these frequency drops, which can negatively impact overall performance. However, my CPU has two FMA (Fused Multiply-Add) units per core, and it does not experience frequency reductions when only a few threads utilize AVX-512 instructions. By allocating only a few threads to Fishtest, the CPU frequency remains stable, allowing me to benefit from the enhanced performance of AVX-512.

Therefore, having an option to enable AVX-512 would be beneficial. If you agree with this suggestion, I would be happy to submit a pull request to implement this feature.

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

No branches or pull requests

1 participant