Skip to content

Commit

Permalink
compiler: Drop unused IMPLICIT property
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLuporini committed Feb 3, 2022
1 parent 7da6a7e commit 3e89c1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
8 changes: 2 additions & 6 deletions devito/ir/stree/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from devito.ir.stree.tree import (ScheduleTree, NodeIteration, NodeConditional,
NodeSync, NodeExprs, NodeSection, NodeHalo, insert)
from devito.ir.support import IMPLICIT, SEQUENTIAL, IterationSpace, normalize_properties
from devito.ir.support import SEQUENTIAL, IterationSpace, normalize_properties
from devito.mpi.halo_scheme import HaloScheme, HaloSchemeException
from devito.parameters import configuration
from devito.tools import Bunch, DefaultOrderedDict, flatten
Expand Down Expand Up @@ -86,12 +86,8 @@ def attach_metadata(cluster, d, tip):
# Add in Iterations, Conditionals, and Syncs
for it in c.itintervals[index:]:
d = it.dim
properties = c.properties.get(d, ())

if IMPLICIT not in properties:
tip = NodeIteration(c.ispace.project([d]), tip, properties)
tip = NodeIteration(c.ispace.project([d]), tip, c.properties.get(d, ()))
mapper[it].top = tip

tip = attach_metadata(c, d, tip)
mapper[it].bottom = tip

Expand Down
6 changes: 0 additions & 6 deletions devito/ir/support/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ def __init__(self, name, val=None):
and "regular".
"""

IMPLICIT = Property('implicit')
"""
A Dimension defining an implicit iteration space, which, as such, does not need
to be implemented with classic constructs (e.g., loops).
"""


def normalize_properties(*args):
if not args:
Expand Down

0 comments on commit 3e89c1a

Please sign in to comment.