Skip to content

Commit

Permalink
[tuner] simplify for loop
Browse files Browse the repository at this point in the history
Signed-off-by: Bangtian Liu <[email protected]>
  • Loading branch information
bangtianliu committed Nov 26, 2024
1 parent 579af35 commit fe1af17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tuner/tuner/dispatch_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ def get_mfma_intrinsic_constraints(
return z3.Or(
*(
z3.And(
intrinsic_m == mnk[0],
intrinsic_n == mnk[1],
intrinsic_k == mnk[2],
intrinsic_m == m,
intrinsic_n == n,
intrinsic_k == k,
)
for mnk in mnk_shapes
for m, n, k in mnk_shapes
)
)

Expand Down

0 comments on commit fe1af17

Please sign in to comment.