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

another fixup

parent 42b8b04a
No related branches found
No related tags found
No related merge requests found
...@@ -120,7 +120,7 @@ def generate_accumulation_instruction(visitor, accterm, measure, subdomain_id): ...@@ -120,7 +120,7 @@ def generate_accumulation_instruction(visitor, accterm, measure, subdomain_id):
# Those input fields, that are padded need to be set to zero # Those input fields, that are padded need to be set to zero
# in order to do a horizontal_add later on # in order to do a horizontal_add later on
for pad in vsf.padding: for pad in vsf.padded_indices:
assignee = prim.Subscript(lp.TaggedVariable(temp, vsf.tag), pad) assignee = prim.Subscript(lp.TaggedVariable(temp, vsf.tag), pad)
instruction(assignee=assignee, instruction(assignee=assignee,
expression=0, expression=0,
......
...@@ -264,7 +264,7 @@ class SumfactKernel(SumfactKernelBase, ImmutableRecord, prim.Variable): ...@@ -264,7 +264,7 @@ class SumfactKernel(SumfactKernelBase, ImmutableRecord, prim.Variable):
# #
@property @property
def padding(self): def padded_indices(self):
return set() return set()
......
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