Skip to content

Conversation

@NikeNano
Copy link
Contributor

@NikeNano NikeNano commented Dec 23, 2025

Description

This should not have any changes on the implementation other than cleaning up a potential typo and making the code more consistent.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Signed-off-by: Niklas Hansson <[email protected]>
@NikeNano NikeNano force-pushed the nikenano/PotentialTypo branch from c2e07b1 to 04738c9 Compare December 23, 2025 21:41
has_acquire_order = False
if isinstance(cur_op, (TileAtomicCAS, TileAtomicRMW)):
has_acquire_order = memory_order_has_acquire(op.memory_order)
has_acquire_order = memory_order_has_acquire(cur_op.memory_order)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should this be the outer or inner variable? I tried to read through the code and could not find any cases where we did not want the cur_op

@NikeNano
Copy link
Contributor Author

Leave it open for questions, but will need to spin up a gpu to test this as well so leave it as WIP, if that is fine.

@NikeNano NikeNano changed the title op is used instead of cur_op WIP: op is used instead of cur_op Dec 23, 2025
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