-
Notifications
You must be signed in to change notification settings - Fork 69
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
Vectorization issue Intel compiler #308
Comments
So it looks like you are using a 2D View to index into a 3D view: that is where it goes off the rails. If we break it down into something simpler (not using mdspan) you got this:
So the |
Okay thanks for the explanation but in principle the loop is over |
Using the option you suggested the loop is vectorized but with
which is bad. However when I try something like this:
I get the following output from the compiler reports:
Do you have any other suggestions? |
It is not over a contiguous part of memory because you don't just change the last index in every iteration, you also change the middle index of Consider this:
So if you increment jc by 1 your memory jumps by Adding a second statement in there also adds a potential OUTPUT dependency, because |
Okay this makes sense, thanks for the explanation |
Hello, I'm having problem vectorizing this very simple loop where
dolic_c
andtke_Lmix
are mdspan objects:I'm using intel compiler and from the report I get the following output:
I think that this is simple enough that should be handled by the compiler and I also don't understand the "irregularly indexed store" issue mentioned in the report
The text was updated successfully, but these errors were encountered: