Commit 848be18
authored
[SYCL] Fix two reduction bugs (#7347)
The one in NDRangeReduction<reduction::strategy::basic> was introduced
during most recent reduction refactoring and most likely could only be
triggered through internal API calls. Code path for public APIs is such
that this strategy isn't auto-selected under conditions leading to the
bug.
I think another one (strategy::group_reduce_and_last_wg_detection) was
introduced earlier (a couple of months maybe) and probably was
user-visible.
Both bugs were caused by some extra erroneous conditions resulting in
taking the wrong branch target.1 parent 6bd5f9c commit 848be18
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
917 | 917 | | |
918 | 918 | | |
919 | 919 | | |
920 | | - | |
| 920 | + | |
921 | 921 | | |
922 | 922 | | |
923 | 923 | | |
| |||
1485 | 1485 | | |
1486 | 1486 | | |
1487 | 1487 | | |
1488 | | - | |
1489 | | - | |
1490 | 1488 | | |
1491 | 1489 | | |
1492 | 1490 | | |
| |||
1498 | 1496 | | |
1499 | 1497 | | |
1500 | 1498 | | |
1501 | | - | |
| 1499 | + | |
1502 | 1500 | | |
1503 | 1501 | | |
1504 | 1502 | | |
| |||
0 commit comments