Skip to content

Conversation

@Dasor
Copy link

@Dasor Dasor commented Sep 5, 2025

This PR adds support for tt.atomic_rmw operations that work with scalars. I implemented a simple conversion from tt.atomic_rmw to memref.atomic_rmw in ReconcilePtrCastsPass.cpp. I believe this is the most appropriate place for the code, but I’m open to feedback if there’s a better alternative.

Support for tt.atomic_rmw with tensors can also be added in the future, but that would require converting them to memref.generic_atomic_rmw, which needs some additional work.

This is my first PR to this repository, so I’d appreciate any feedback and hope to contribute more to this project!

@Dasor
Copy link
Author

Dasor commented Sep 5, 2025

@microsoft-github-policy-service agree

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.

1 participant