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
// Simplified
dace::CopyND<float, 1, false, 1>::template ConstDst<1>::Copy(
A, c + ((5 * i) + j), 1);
I claim that this transformation is wrong, since only the A[0][0] element is going to be ever copied from. The correct version should be the following:
I believe this is due to incorrectly setting the other_subset to None, since None is interpreted as subset but offset to 0 (as Tal mentioned on chat the other day).
Describe the bug
Original Graph
Consider the graph produced by the following script:
Which produces this graph (
orig.sdfg
): https://polybox.ethz.ch/index.php/s/1mnftP8zNIX4rtAAnd compiles into:
Simplified Graph
Now consider a simplification produced by the following script:
Which produces this graph (
simple.sdfg
): https://polybox.ethz.ch/index.php/s/7gYiAxHijVnKTesAnd compiles into:
Problem
Observe that the first copies of each loop between the two versions, e.g.:
vs.
I claim that this transformation is wrong, since only the A[0][0] element is going to be ever copied from. The correct version should be the following:
The text was updated successfully, but these errors were encountered: