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
...
File "../dace-master/dace/codegen/targets/cpu.py", line 209, in allocate_view
self._dispatcher.dispatch_allocate(sdfg, dfg, state_id, viewed_dnode, viewed_dnode.desc(sdfg), global_stream,
AttributeError: 'NestedSDFG' object has no attribute 'desc'
Expected behavior ArrayViewAccessNodes should be connected to AccessNodes, not the top-level nsdfg that persistent fusion creates.
Additional context
Several other tests under tests/npbench/polybench for the same reason, but need more changes to the rest of the library for gpu_persistent_fusion to apply.
Tested with latest dace master branch
Uploaded patches and sdfg as txt because GitHub won't let me upload anything else.
@kylosus Thank you for reporting. View issue should be fixed in #1552 now.
It still won't apply persistent fusion correctly because of different dimensionalities of internal maps (correlation contains both 2D and 1D maps), but this is a separate issue.
Describe the bug
Applying
gpu_persistent_fusion
to some dace programs breaks during codegen if there areArrayView
sTo Reproduce
Steps to reproduce the behavior:
dace/transformation/subgraph/gpu_persistent_fusion.py
to fix an issue with code -> code scalars (gpu_persistent_fusion.py.patch.txt)tests/npbench/polybench/correlation.py
, correlation_test.py.patch.txt)Relevant stack trace
(What I believe to be the) Relevant part of code
dace/dace/transformation/subgraph/gpu_persistent_fusion.py
Line 214 in e542965
Expected behavior
ArrayView
AccessNode
s should be connected toAccessNode
s, not the top-level nsdfg that persistent fusion creates.Additional context
Several other tests under
tests/npbench/polybench
for the same reason, but need more changes to the rest of the library forgpu_persistent_fusion
to apply.Tested with latest dace master branch
Uploaded patches and sdfg as txt because GitHub won't let me upload anything else.
failing.sdfgz.txt
The text was updated successfully, but these errors were encountered: