Skip to content

Commit

Permalink
Rm rogue comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrudPrimrose committed Nov 21, 2024
1 parent 5bd3f7b commit 51e8404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dace/codegen/targets/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,9 @@ def allocate_array(self, sdfg: SDFG, cfg: ControlFlowRegion, dfg: StateSubgraphV
allocation_stream)
if isinstance(nodedesc, data.Scalar):
if node.setzero:
declaration_stream.write("%s %s = 0; //u1\n" % (nodedesc.dtype.ctype, name), cfg, state_id, node)
declaration_stream.write("%s %s = 0;\n" % (nodedesc.dtype.ctype, name), cfg, state_id, node)
else:
declaration_stream.write("%s %s;//u1\n" % (nodedesc.dtype.ctype, name), cfg, state_id, node)
declaration_stream.write("%s %s;\n" % (nodedesc.dtype.ctype, name), cfg, state_id, node)
define_var(name, DefinedType.Scalar, nodedesc.dtype.ctype)
elif isinstance(nodedesc, data.Stream):
###################################################################
Expand Down

0 comments on commit 51e8404

Please sign in to comment.