Skip to content

Commit

Permalink
Remove obsolete scope_subgraph method
Browse files Browse the repository at this point in the history
  • Loading branch information
phschaad committed Oct 31, 2023
1 parent 8a32851 commit 6d4c95f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions dace/sdfg/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,6 @@ def signature_arglist(self, with_types=True, for_call=False):
"""
return [v.as_arg(name=k, with_types=with_types, for_call=for_call) for k, v in self.arglist().items()]

@abc.abstractmethod
def scope_subgraph(self, entry_node, include_entry=True, include_exit=True):
raise NotImplementedError()

@abc.abstractmethod
def top_level_transients(self) -> Set[str]:
"""Iterate over top-level transients of this graph."""
Expand Down Expand Up @@ -1034,11 +1030,6 @@ def unordered_arglist(self,
scalar_args.update(n_scalar_args)
return data_args, scalar_args

def scope_subgraph(self, entry_node, include_entry=True, include_exit=True):
# TODO: Not sure if this makes sense here.
from dace.sdfg.scope import _scope_subgraph
return _scope_subgraph(self, entry_node, include_entry, include_exit)

def top_level_transients(self) -> Set[str]:
res = set()
for block in self.nodes():
Expand Down

0 comments on commit 6d4c95f

Please sign in to comment.