Skip to content

Commit

Permalink
Remove stale TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
phschaad committed Nov 26, 2024
1 parent 0c960ae commit c9c2479
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dace/transformation/passes/lift_struct_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,11 @@ def _handle_simple_name_access(self, node: ast.Attribute, val: ast.Name) -> Any:
if self.direction == 'in':
self.state.add_edge(self.data_node, None, view_node, 'views',
Memlet.from_array(self.data_node.data + '.' + node.attr, self.data.members[node.attr]))
# TODO: determine the actual subset from the tasklet accesses.
self.state.add_edge(view_node, None, self.tasklet, new_connector_name,
Memlet.from_array(view_name, view))
else:
self.state.add_edge(view_node, 'views', self.data_node, None,
Memlet.from_array(self.data_node.data + '.' + node.attr, self.data.members[node.attr]))
# TODO: determine the actual subset from the tasklet accesses.
self.state.add_edge(self.tasklet, new_connector_name, view_node, None,
Memlet.from_array(view_name, view))
return self.generic_visit(replacement)
Expand Down

0 comments on commit c9c2479

Please sign in to comment.