Commit b376198
committed
Fix c2c2c_identity test
Reusing a plan for different arrays than it was created with requires that they
have the same size and alignment as was used for creating the plan. While the
size of `a` and `b` is identical, there is no such guarantee for their
alignment. Therefore one may not simply swap them.
Fix this by using separate plans for the `in: a, out: b` and `in: b, out: a`
invocations.1 parent e5ef1d9 commit b376198
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | | - | |
17 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
0 commit comments