Commit 9753b3f
Add GPU overrides for
Mirrors the existing `_ind_intersect` overrides: collect GPU index vectors
to CPU before computing the union, since `union` does not work on GPU arrays.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>_ind_union in CUDA and AMDGPU extensions1 parent f22622c commit 9753b3f
2 files changed
Lines changed: 6 additions & 2 deletions
File tree
- ext
- MatrixAlgebraKitAMDGPUExt
- MatrixAlgebraKitCUDAExt
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
| |||
0 commit comments