Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
PapyChacal committed Aug 21, 2024
1 parent 9c10636 commit a2a6922
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions devito/ir/xdsl_iet/cluster_to_ssa.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,12 +384,13 @@ def build_stencil_step(self, dim: SteppingDimension, eq: LoweredEq) -> None:

lb = stencil.IndexAttr.get(*([0] * len(shape)))
ub = stencil.IndexAttr.get(*shape)
stencil.StoreOp.get(

store = stencil.StoreOp.get(
apply.res[0],
self.function_args[self.out_time_buffer],
self.function_values[self.out_time_buffer],
stencil.StencilBoundsAttr(zip(lb, ub)),
)
load = stencil.LoadOp.get(self.function_args[self.out_time_buffer])
load = stencil.LoadOp.get(self.function_values[self.out_time_buffer])
load.res.name_hint = f"{write_function.name}_t{self.out_time_buffer[1]}_temp" # noqa
self.temps[self.out_time_buffer] = load.res

Expand Down

0 comments on commit a2a6922

Please sign in to comment.