Skip to content

Commit

Permalink
misc: Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoeLeibowitz committed Sep 5, 2024
1 parent 163c4a1 commit 66b70f1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion devito/ir/iet/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from devito.petsc.types import LinearSolveExpr
from devito.petsc.iet.utils import petsc_iet_mapper


__all__ = ['iet_build']


Expand Down
1 change: 0 additions & 1 deletion devito/passes/iet/mpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def rule1(dep, candidates, loc_dims):
rules = [rule0, rule1]

# Precompute scopes to save time
# TODO: Investigate
scopes = {i: Scope([e.expr for e in v if not isinstance(e, Call)])
for i, v in MapNodes().visit(iet).items()}

Expand Down
1 change: 0 additions & 1 deletion devito/petsc/clusters.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def petsc_project(clusters):
"""
processed = []
for c in clusters:
# Drop time-loop for expressions that appear in PETSc callback functions
if isinstance(c.exprs[0].rhs, CallbackExpr):
time_dims = [d for d in c.ispace.intervals.dimensions if d.is_Time]
ispace = c.ispace.project(lambda d: d not in time_dims)
Expand Down

0 comments on commit 66b70f1

Please sign in to comment.