-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
SoA optimization fail? #1232
Labels
Comments
@SteveBronder could you take a look at this? I've tried to nail down where the demotion is happening but have a hard time finding my way around the mem pattern pass |
Yes I'll take a look this week! |
This was referenced Aug 14, 2023
@avehtari this should be good now if you see any other edge cases plz lmk!! |
Great! Pinging also @paul-buerkner to let him know it's fixed as this came up in brms generated code |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
--O1
the following code fails to use SoA forbeta
andmu
but the following equivalent code does work (showing only the model block)
but it's not just the order of summing as following works, too
@WardBrian commented
Is there anything to be done to make the first code to use SoA, as figuring out these subtleties can be challenging for users
The text was updated successfully, but these errors were encountered: