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

remove MkFit clang16 vectorization warnings #126

Merged
merged 2 commits into from
May 24, 2023

Conversation

dan131riley
Copy link
Collaborator

PR description:

Removes the "loop not vectorized" warnings in cms-sw#41624. Four of the loops are not vectorized by any of our compilers, so I commented out the simd pragma for those. For the others that are vectorized by icc, I added an ifdef to disable the simd pragma for clang. I would have preferred to suppress the warning messages with a compiler pragma, but that doesn't seem to be possible for the case where vectorization is supposed to be forced.

PR validation:

Compiles without warnings with clang16 and gcc.

Copy link

@slava77 slava77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that some comments are needed inline to explain #if !defined(__clang__)

@slava77 slava77 merged commit 2c2b494 into trackreco:master May 24, 2023
@dan131riley dan131riley deleted the vectorization-warnings branch July 20, 2023 01:12
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