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

[Dispatch] Disable scatter fusion with producers #19565

Merged
merged 2 commits into from
Dec 27, 2024

Conversation

IanWood1
Copy link
Contributor

Backends don't currently support scatter fusion and will silently compile incorrect code. This should be turned off in order to prevent backends from generating incorrect results. I don't think any users are running into this currently, but its best to keep it off for now. Similar to #19535 but for both indices and updates.

Copy link
Contributor

@MaheshRavishankar MaheshRavishankar left a comment

Choose a reason for hiding this comment

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

Instead of this can we just disable this during dispatch region formation

Backends don't currently support scatter fusion and will silently
compile incorrect code. This should be turned off in order to prevent
backends from generating incorrect results.

Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
@IanWood1
Copy link
Contributor Author

I made the requested change. Additionally, instead of removing the tests, I modified them to check that no fusion occurs

@IanWood1 IanWood1 merged commit a43d893 into iree-org:main Dec 27, 2024
37 checks passed
Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
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