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

arm can't be vectorized if using cmakelist #74

Closed
before-Sunrise opened this issue Jan 14, 2025 · 1 comment · Fixed by #75
Closed

arm can't be vectorized if using cmakelist #74

before-Sunrise opened this issue Jan 14, 2025 · 1 comment · Fixed by #75

Comments

@before-Sunrise
Copy link

if change cmakelist like below, then code can be vectorized

if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*)")
    add_compile_options(-D__ARM_NEON__)
endif()
@lemire
Copy link
Member

lemire commented Jan 14, 2025

Please see #75

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 a pull request may close this issue.

2 participants