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
Describe the bug
The dace program fails to compile if the integer args of MPI nodes (dst and tag) are anything other than symbols, symbol expressions and numbers.
The program fails to compile with the following error:
ValueError: Node type "Send" not supported for promotion
Same behavior in other scenarios:
# ...a=0a=ranka=A[0]
dace.comm.Send(A[0], a, 0)
Desktop (please complete the following information):
Latest DaCe master branch
Possible fix:
The code below should check if the sdfg.arrays entry for the corresponding arg is a Scalar when given an str and fall to the last branch.
Describe the bug
The dace program fails to compile if the integer args of MPI nodes (
dst
andtag
) are anything other than symbols, symbol expressions and numbers.To Reproduce
The program fails to compile with the following error:
Same behavior in other scenarios:
Desktop (please complete the following information):
Possible fix:
The code below should check if the
sdfg.arrays
entry for the corresponding arg is aScalar
when given anstr
and fall to the last branch.dace/dace/frontend/common/distr.py
Lines 424 to 436 in f4b4d01
The text was updated successfully, but these errors were encountered: