Commit ed3476f
authored
Move dpctl_ext.tensor to dpnp.tensor (#2829)
This PR proposes a refactoring that migrates `dpctl_ext.tensor` module
into `dpnp` package as `dpnp.tensor`
Changes:
1. Moved `dpctl_ext/tensor/` directory to `dpnp/tensor/`
2. Updated all imports from `dpctl_ext.tensor` to `dpnp.tensor` across
the codebase
3. Consolidated build: removed dpctl_ext/CMakeLists.txt, added
build_dpnp_tensor_ext() to dpnp/CMakeLists.txt
4. Added `DPNP_BUILD_COMPONENTS` CMake option
(`ALL/TENSOR_ONLY/SKIP_TENSOR`) for staged builds
5. Split coverage workflow into two steps to avoid memory issues
6. Updated include paths in all backend extension CMake files
7. Removed `dpctl_ext/` directory and cleaned up `.gitignore`1 parent a31ab47 commit ed3476f
File tree
470 files changed
+385
-691
lines changed- dpctl_ext
- dpnp
- backend
- extensions
- blas
- fft
- indexing
- lapack
- statistics
- ufunc
- vm
- window
- include
- dpnp_algo
- dpnp_utils
- exceptions
- fft
- linalg
- memory
- scipy/linalg
- tensor
- include/dlpack
- libtensor
- include
- kernels
- elementwise_functions
- linalg_functions
- sorting
- utils
- source
- accumulators
- elementwise_functions
- linalg_functions
- reductions
- sorting
- tests
- third_party/cupy
- core_tests
- lib_tests
- manipulation_tests
- math_tests
- sorting_tests
- statistics_tests
- testing
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
470 files changed
+385
-691
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
46 | 57 | | |
47 | 58 | | |
48 | 59 | | |
| |||
344 | 355 | | |
345 | 356 | | |
346 | 357 | | |
347 | | - | |
348 | 358 | | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
89 | 172 | | |
90 | 173 | | |
91 | 174 | | |
92 | 175 | | |
93 | 176 | | |
| 177 | + | |
| 178 | + | |
94 | 179 | | |
95 | 180 | | |
96 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 63 | + | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments