Skip to content

Commit

Permalink
Removed commented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnick83 committed Sep 28, 2023
1 parent 0001189 commit 306d7a9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dace/codegen/targets/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,6 @@ def allocate_array(self, sdfg, dfg, state_id, node, nodedesc, function_stream, d
name = node.data
alloc_name = cpp.ptr(name, nodedesc, sdfg, self._frame)
name = alloc_name
# # NOTE: `expr` may only be a name or a sequence of names and dots. The latter indicates nested data and
# # NOTE: structures. Since structures are implemented as pointers, we replace dots with arrows.
# alloc_name = alloc_name.replace('.', '->')

if nodedesc.transient is False:
return
Expand Down Expand Up @@ -1184,9 +1181,6 @@ def memlet_definition(self,
if not types:
types = self._dispatcher.defined_vars.get(ptr, is_global=True)
var_type, ctypedef = types
# # NOTE: `expr` may only be a name or a sequence of names and dots. The latter indicates nested data and
# # NOTE: structures. Since structures are implemented as pointers, we replace dots with arrows.
# ptr = ptr.replace('.', '->')

if fpga.is_fpga_array(desc):
decouple_array_interfaces = Config.get_bool("compiler", "xilinx", "decouple_array_interfaces")
Expand Down

0 comments on commit 306d7a9

Please sign in to comment.