Skip to content

Commit 3b4b2f2

Browse files
committed
TEST
1 parent 114add9 commit 3b4b2f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

third_party/intel/backend/compiler.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,7 @@ def make_ttgir(mod, metadata, opt, properties):
253253
passes.common.add_cse(pm)
254254
passes.ttgpuir.add_prefetch(pm)
255255
passes.ttgpuir.add_optimize_dot_operands(pm, True)
256-
if os.getenv("TRITON_INTEL_OPTIMIZE_REDUCTION_LOCALITY", "0") == "1":
257-
intel.passes.ttgpuir.add_optimize_reduction_locality(pm)
256+
intel.passes.ttgpuir.add_optimize_reduction_locality(pm)
258257
intel.passes.ttgpuir.add_remove_layout_conversions(pm)
259258
intel.passes.ttgpuir.add_reduce_data_duplication(pm)
260259
passes.ttgpuir.add_reorder_instructions(pm)

0 commit comments

Comments
 (0)