We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dace.program
Describe the bug When passing more arguments to a function annotated with @dace.program, DaCe fails to warn the user.
@dace.program
To Reproduce Steps to reproduce the behavior:
import dace IMGDIM = dace.symbol('IMGDIM') @dace.program def imgcpy(img1: dace.float64[IMGDIM, IMGDIM], img2: dace.float64[IMGDIM, IMGDIM], coefficient: dace.float64): img1[:, :] = img2[:, :] * coefficient imgcpy([[1, 2], [3, 4]], [[4, 3], [2, 1]], 0.0, 1.0)
Full output:
user@linux:~/Temp/dace$ python3 bug_reproducer.py WARNING: Casting list argument "img1" to ndarray WARNING: Casting list argument "img2" to ndarray
Expected behavior A notice that more arguments are being passed to imgcpy than imgcpy accepts.
imgcpy
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Fixed in #1283
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
When passing more arguments to a function annotated with
@dace.program
, DaCe fails to warn the user.To Reproduce
Steps to reproduce the behavior:
Full output:
Expected behavior
A notice that more arguments are being passed to
imgcpy
thanimgcpy
accepts.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: