Skip to content

Commit

Permalink
Revert "converto scalar to array on nsdfg output"
Browse files Browse the repository at this point in the history
This reverts commit 746f9d8.
  • Loading branch information
edopao committed Dec 11, 2024
1 parent 746f9d8 commit 0d894ff
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -996,10 +996,6 @@ def apply(
else:
assert isinstance(inner_desc, dace.data.Scalar)
assert len(new_strides) == 0
# we convert the scalar data to array to avoid a gpu codegen error
nsdfg_node.sdfg.arrays[inner_data] = dace.data.Array(
inner_desc.dtype, (1,), inner_desc.transient
)
for stride in new_strides:
for sym in stride.free_symbols:
nsdfg_node.sdfg.add_symbol(str(sym), sym.dtype)
Expand Down

0 comments on commit 0d894ff

Please sign in to comment.