Skip to content

Commit 24717c3

Browse files
jataylonaromero77amd
authored andcommitted
Naive foreach autotune support
(cherry picked from commit 5d4455f) (cherry picked from commit d3d77f5)
1 parent e311287 commit 24717c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torch/_inductor/runtime/triton_heuristics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2275,6 +2275,7 @@ def foreach(triton_meta, filename=None, inductor_meta=None):
22752275
Compile a triton foreach kernel
22762276
"""
22772277
configs = []
2278+
22782279
if disable_pointwise_autotuning(inductor_meta) and not (
22792280
inductor_meta.get("max_autotune") or
22802281
inductor_meta.get("max_autotune_pointwise")

0 commit comments

Comments
 (0)