Skip to content
Snippets Groups Projects
Commit 45d37d2b authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Cleanup

parent 74f6da0f
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,6 @@ from dune.perftool.generation import (barrier,
get_global_context_value,
globalarg,
instruction,
noop_instruction,
post_include,
silenced_warning,
transform,
......@@ -41,11 +40,6 @@ def realize_sum_factorization_kernel(sf, **kwargs):
return _realize_sum_factorization_kernel(sf, insn_dep=insn_dep, **kwargs)
def input_separation_instruction(inp):
return noop_instruction(id="{}_barrier_instruction".format(inp),
depends_on=frozenset({lp.match.Writes(inp)})).id
def _realize_input(sf, insn_dep):
# Set up the input for stage 1
if sf.stage == 1 and not get_option("fastdg"):
......@@ -95,7 +89,7 @@ def _realize_sum_factorization_kernel(sf, insn_dep=frozenset(), outshape=None, d
# Add a dependency on the input variable
if sf.input:
insn_dep = insn_dep.union(frozenset({input_separation_instruction(sf.input)}))
insn_dep = insn_dep.union(frozenset({lp.match.Writes(sf.input)}))
# Prepare some dim_tags/shapes for later use
ftags = ",".join(["f"] * sf.length)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment