File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ def reduce_strict_ordering(knl) -> LoopKernel:
116116 def narrow_dependencies (
117117 source : InstructionBase ,
118118 after_insn : InstructionBase ,
119- access_mapper : AccessMapFinder ,
120119 happens_afters : dict ,
121120 dependency_map : isl .Map | None = None , # type: ignore
122121 ) -> dict :
@@ -154,7 +153,6 @@ def narrow_dependencies(
154153 narrow_dependencies (
155154 source ,
156155 knl .id_to_insn [insn ],
157- access_mapper ,
158156 happens_afters ,
159157 dependency_map ,
160158 )
@@ -176,11 +174,7 @@ def narrow_dependencies(
176174 new_insns = []
177175 for insn in knl .instructions [::- 1 ]:
178176 new_insns .append (
179- insn .copy (
180- happens_after = narrow_dependencies (
181- insn , insn , access_mapper , {}
182- )
183- )
177+ insn .copy (happens_after = narrow_dependencies (insn , insn , {}))
184178 )
185179
186180 return knl .copy (instructions = new_insns [::- 1 ])
You can’t perform that action at this time.
0 commit comments