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

feat: Warn when CPU without AVX/AVX2 support is used #7

Merged
merged 2 commits into from
Jun 17, 2023

Conversation

sbernauer
Copy link
Owner

No description provided.

@sbernauer sbernauer changed the title feat: Warn when CPU with AVX/AVX2 support is used feat: Warn when CPU without AVX/AVX2 support is used Jun 16, 2023
@sbernauer
Copy link
Owner Author

@fabi321 review would be great. My understanding is that std::sim uses the available cpu features

@sbernauer sbernauer merged commit 74e95c9 into master Jun 17, 2023
8 checks passed
@fabi321
Copy link
Contributor

fabi321 commented Jun 17, 2023

according to the docs, the std::simd uses the available featureset of the target cpu, and replaces simd instructions with scalar ones on platforms that don't support simd, like some arm platforms.

@sbernauer sbernauer deleted the feat/warn-on-old-cpu branch June 18, 2023 18:54
@sbernauer
Copy link
Owner Author

Awesome, as I expected 👍

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

2 participants