Commit 89cb658
authored
This PR suggests a solving #2311
When the input array is `(n, m)` or `(batch_size, n, m)` where m=1
`geqrf`/`geqrf_batch` call returns F-contig result array and
`dpnp.empty_like()` is used to allocate `q` allocates F-contig array and
this raises `ValueError` exception in `orgqr` and `ungqr` functions.
Added `q` allocation always C-contig and updated tests
1 parent b6cc5fe commit 89cb658
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| 452 | + | |
452 | 453 | | |
453 | 454 | | |
454 | 455 | | |
455 | 456 | | |
456 | 457 | | |
457 | 458 | | |
458 | 459 | | |
| 460 | + | |
459 | 461 | | |
460 | 462 | | |
461 | 463 | | |
| |||
2532 | 2534 | | |
2533 | 2535 | | |
2534 | 2536 | | |
| 2537 | + | |
2535 | 2538 | | |
2536 | 2539 | | |
2537 | 2540 | | |
2538 | 2541 | | |
2539 | 2542 | | |
2540 | 2543 | | |
2541 | 2544 | | |
| 2545 | + | |
2542 | 2546 | | |
2543 | 2547 | | |
2544 | 2548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2372 | 2372 | | |
2373 | 2373 | | |
2374 | 2374 | | |
2375 | | - | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
2376 | 2386 | | |
| 2387 | + | |
2377 | 2388 | | |
2378 | 2389 | | |
2379 | 2390 | | |
2380 | 2391 | | |
| 2392 | + | |
2381 | 2393 | | |
2382 | 2394 | | |
2383 | 2395 | | |
| |||
0 commit comments