Commit 6b017b7
Address review: flip strides assertion, add _arr_dtype, merge main
Per @rwgk's review:
- Flip strides check to branch on view.strides (all 3 _check_view)
- Add _arr_dtype helper using __cuda_array_interface__["typestr"]
for torch tensors, restore dtype assertion in CAI _check_view
- Merge main to pick up NVIDIA#1998 (numba flags fix)
Verified locally: 76/76 tests pass across all three test classes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 95a41aa commit 6b017b7
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
| |||
171 | 177 | | |
172 | 178 | | |
173 | 179 | | |
174 | | - | |
175 | | - | |
| 180 | + | |
| 181 | + | |
176 | 182 | | |
177 | 183 | | |
178 | 184 | | |
| |||
280 | 286 | | |
281 | 287 | | |
282 | 288 | | |
283 | | - | |
284 | | - | |
| 289 | + | |
| 290 | + | |
285 | 291 | | |
286 | 292 | | |
287 | 293 | | |
| |||
351 | 357 | | |
352 | 358 | | |
353 | 359 | | |
354 | | - | |
355 | | - | |
| 360 | + | |
| 361 | + | |
356 | 362 | | |
357 | 363 | | |
| 364 | + | |
358 | 365 | | |
359 | 366 | | |
360 | 367 | | |
| |||
0 commit comments