Commit ba09dd8
authored
Disable vectorized
* Removes `sycl::vec` overload in `BitwiseInvertFunctor`
This overload would cause sufficiently large boolean arrays to produce unexpected results when cast to another type
* Adds a test for fixed bitwise_invert behavior
* Re-enable vectorized `bitwise_invert` for integer typesbitwise_invert for boolean inputs (#1681)1 parent c994666 commit ba09dd8
File tree
2 files changed
+12
-12
lines changed- dpctl
- tensor/libtensor/include/kernels/elementwise_functions
- tests/elementwise
2 files changed
+12
-12
lines changedLines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | | - | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 77 | + | |
88 | 78 | | |
89 | 79 | | |
90 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
0 commit comments