Skip to content

Commit b9e0182

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

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
@@ -2490,7 +2490,7 @@ def pointwise(
24902490
]
24912491
if len(size_hints) == 2:
24922492
if (
2493-
disable_pointwise_autotuning(inductor_meta) or tile_hint == TileHint.SQUARE
2493+
disable_pointwise_autotuning(inductor_meta) # or tile_hint == TileHint.SQUARE
24942494
) and not (
24952495
inductor_meta.get("max_autotune")
24962496
or inductor_meta.get("max_autotune_pointwise")

0 commit comments

Comments
 (0)