File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2632,6 +2632,12 @@ def dpnp_solve(a, b):
2632
2632
_manager = dpu .SequentialOrderManager [exec_q ]
2633
2633
dev_evs = _manager .submitted_events
2634
2634
2635
+ # TODO: remove after PR #2558 is merged
2636
+ # Temporarily set trans_code=1 (transpose) because the LU-factorized
2637
+ # array is C-contiguous.
2638
+ # For F-contiguous arrays use 0 (non-transpose)
2639
+ trans_code = 1
2640
+
2635
2641
# use DPCTL tensor function to fill the сopy of the input array
2636
2642
# from the input array
2637
2643
ht_ev , a_copy_ev = ti ._copy_usm_ndarray_into_usm_ndarray (
@@ -2688,6 +2694,7 @@ def dpnp_solve(a, b):
2688
2694
a_h .get_array (),
2689
2695
ipiv_h .get_array (),
2690
2696
b_h .get_array (),
2697
+ trans_code ,
2691
2698
depends = [b_copy_ev , getrf_ev ],
2692
2699
)
2693
2700
_manager .add_event_pair (ht_ev , getrs_ev )
You can’t perform that action at this time.
0 commit comments