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

cmake: add new option to enable AVX instructions: JVX_USE_AVX #10

Merged
merged 1 commit into from
May 17, 2024

Conversation

flo-at
Copy link
Collaborator

@flo-at flo-at commented May 17, 2024

This adds a new cmake option JVX_USE_AVX to allow the compiler to use AVX, AVX2 and AVX-512 instructions when these are supported by the host architecture. To detect this, cmake tries to compile and run code that uses these instructions.

@jvxgit jvxgit merged commit cdffff5 into jvxgit:master May 17, 2024
1 check 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.

2 participants