You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Python frontend has trouble dealing with dynamic map inputs.
Some programs don't generate valid graphs:
@dace.program
def test(A: dace.float64[20], B: dace.float64[20]):
N = dace.define_local_scalar(dace.int32)
N = 5
for i in dace.map[0:N]:
for j in dace.map[0:N]:
with dace.tasklet:
a << A[i]
b >> B[j]
b = a + 1
others generate symbols instead of scalars:
@dace.program
def test(A: dace.float64[20], B: dace.float64[20], N: dace.int32):
for i, j in dace.map[0:N, 0:N]:
with dace.tasklet:
a << A[i]
b >> B[j]
b = a + 1
and others generate code in the wrong order, allocating the scalars before setting their values: