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

Hunt correctness for extend attention + RPE #504

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
2 changes: 2 additions & 0 deletions iree/turbine/kernel/ops/wave_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,9 @@ def align_index(self, constraints: list["Constraint"]) -> None:
from ..wave.utils import align_index_vars, is_shared_mem_access

if is_shared_mem_access(self):
print(f"MMA before {self.index} with constraints {constraints}")
self.index = align_index_vars(self.index, constraints)
print(f"MMA after {self.index}")

def transform_index_backwards(
self, index: dict[IndexSymbol, IndexSequence], arg: fx.Node
Expand Down
Loading