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
Attempting to call this dace program fails with the following error:
Traceback (most recent call last):
File ".../jacobi_test_2.py", line 49, in <module>
func(A=A, B=B, N=N)
File ".../dace/codegen/compiled_sdfg.py", line 334, in __call__
argtuple, initargtuple = self._construct_args(kwargs)
File ".../dace/dace/codegen/compiled_sdfg.py", line 395, in _construct_args
raise KeyError("Missing program argument \"{}\"".format(a))
KeyError: 'Missing program argument "a"'
Adding extra a=0 and t=0 args allows the sdfg to pass the validation and runs as expected.
Desktop (please complete the following information):
Python 3.10.12
Dace latest master branch
Additional context
Changing this line to the following fixes it but I'm not sure if it's a full solution.
Thank you for reporting! After looking into the issue, it looks like the transformation did not remove the symbols that are now unused from the outer SDFG. This is now fixed in #1322.
Describe the bug
GPUPersistentKernel
transformation incorrectly considers symbols defined within the SDFG as free symbols and fails to validate.To Reproduce
Consider the following toy example:
Attempting to call this dace program fails with the following error:
Adding extra
a=0
andt=0
args allows the sdfg to pass the validation and runs as expected.Desktop (please complete the following information):
Additional context
Changing this line to the following fixes it but I'm not sure if it's a full solution.
The text was updated successfully, but these errors were encountered: