Commit 11ecba8
authored
Fix search reductions giving incorrect results for F-contiguous inputs (#1462)
* Fixes correctness regression in search functions
``py_search_over_axis`` no longer calls the ``axis1`` contiguous variant
``py_search_over_axis`` now only calls ``axis0`` variant wh
* Adds tests for fixed search reduction behavior1 parent 9131925 commit 11ecba8
File tree
2 files changed
+19
-10
lines changed- dpctl
- tensor/libtensor/source/reductions
- tests
2 files changed
+19
-10
lines changedLines changed: 3 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
878 | 877 | | |
879 | 878 | | |
880 | 879 | | |
881 | 880 | | |
882 | | - | |
883 | | - | |
884 | | - | |
| 881 | + | |
885 | 882 | | |
886 | 883 | | |
887 | 884 | | |
| |||
903 | 900 | | |
904 | 901 | | |
905 | 902 | | |
906 | | - | |
907 | | - | |
908 | | - | |
| 903 | + | |
909 | 904 | | |
910 | 905 | | |
911 | 906 | | |
| |||
983 | 978 | | |
984 | 979 | | |
985 | 980 | | |
986 | | - | |
987 | 981 | | |
988 | 982 | | |
989 | 983 | | |
990 | | - | |
991 | 984 | | |
992 | 985 | | |
993 | 986 | | |
| |||
1000 | 993 | | |
1001 | 994 | | |
1002 | 995 | | |
1003 | | - | |
| 996 | + | |
1004 | 997 | | |
1005 | 998 | | |
1006 | 999 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
268 | 284 | | |
269 | 285 | | |
270 | 286 | | |
| |||
0 commit comments