Skip to content

Commit c269eb3

Browse files
AmdSampsanaromero77amd
authored andcommitted
pointwise autotuning returnz (#2636)
removed the (erroneous?) check that disables autotuning for pointwise kernels (cherry picked from commit e3b8e25) (cherry picked from commit 10af207) (cherry picked from commit b9e0182)
1 parent 5ed2f82 commit c269eb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_inductor/runtime/triton_heuristics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@ def pointwise(
19011901
]
19021902
if len(size_hints) == 2:
19031903
if (
1904-
disable_pointwise_autotuning(inductor_meta) or tile_hint == TileHint.SQUARE
1904+
disable_pointwise_autotuning(inductor_meta) # or tile_hint == TileHint.SQUARE
19051905
) and not (
19061906
inductor_meta.get("max_autotune")
19071907
or inductor_meta.get("max_autotune_pointwise")

0 commit comments

Comments
 (0)