Skip to content

Commit

Permalink
feat[next][dace]: Modify name of stride symbols (GridTools#1548)
Browse files Browse the repository at this point in the history
Remove unnecessary unique ID, which makes code generation easier for
ICON-DSL bindings.
  • Loading branch information
edopao authored Jun 6, 2024
1 parent 32dde79 commit f472c90
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
get_used_connectivities,
map_nested_sdfg_symbols,
new_array_symbols,
unique_name,
unique_var_name,
)

Expand Down Expand Up @@ -125,7 +124,7 @@ def _make_array_shape_and_strides(
)
for i, dim in sorted_dims
]
strides = [dace.symbol(unique_name(f"{name}_stride{i}"), dtype) for i, _ in sorted_dims]
strides = [dace.symbol(f"__{name}_stride_{i}", dtype) for i, _ in sorted_dims]
return shape, strides


Expand Down

0 comments on commit f472c90

Please sign in to comment.