Commit 80c49be
authored
This PR proposes replacing the individual dpctl C-API includes and
import calls in `dpnp4pybind11.hpp` with `dpctl_capi.h` header and its
`import_dpctl()` function.
Previous changes to the explicit imports were made to avoid conflicting
with dpctl which contained a tensor;
now that dpctl no longer contains a tensor, we can use the header
directly.
Additionally, fixes `RuntimeWarning` filter in `test_exp_complex_contig`
1 parent 391fb6d commit 80c49be
File tree
2 files changed
+6
-32
lines changed- dpnp
- backend/include
- tests/tensor/elementwise
2 files changed
+6
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 31 | + | |
| 32 | + | |
54 | 33 | | |
55 | 34 | | |
56 | 35 | | |
| |||
253 | 232 | | |
254 | 233 | | |
255 | 234 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
264 | 238 | | |
265 | 239 | | |
266 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments