Skip to content

Commit 9a0daa0

Browse files
Apply remarks
1 parent f5918cc commit 9a0daa0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dpnp/linalg/dpnp_utils_linalg.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2873,15 +2873,15 @@ def dpnp_solve(a, b):
28732873
a_h = dpnp.empty_like(a, order="F", dtype=res_type, usm_type=res_usm_type)
28742874

28752875
_manager = dpu.SequentialOrderManager[exec_q]
2876-
dev_evs = _manager.submitted_events
2876+
dep_evs = _manager.submitted_events
28772877

28782878
# use DPCTL tensor function to fill the сopy of the input array
28792879
# from the input array
28802880
ht_ev, a_copy_ev = ti._copy_usm_ndarray_into_usm_ndarray(
28812881
src=a_usm_arr,
28822882
dst=a_h.get_array(),
28832883
sycl_queue=a.sycl_queue,
2884-
depends=dev_evs,
2884+
depends=dep_evs,
28852885
)
28862886
_manager.add_event_pair(ht_ev, a_copy_ev)
28872887

@@ -2897,13 +2897,13 @@ def dpnp_solve(a, b):
28972897
src=b_usm_arr,
28982898
dst=b_h.get_array(),
28992899
sycl_queue=b.sycl_queue,
2900-
depends=dev_evs,
2900+
depends=dep_evs,
29012901
)
29022902
_manager.add_event_pair(ht_ev, b_copy_ev)
29032903

29042904
# Call the LAPACK extension function _gesv to solve the system of linear
29052905
# equations with the coefficient square matrix and
2906-
# the dependent variables array.
2906+
# the dependent variables array
29072907
ht_lapack_ev, gesv_ev = li._gesv(
29082908
exec_q, a_h.get_array(), b_h.get_array(), [a_copy_ev, b_copy_ev]
29092909
)

0 commit comments

Comments
 (0)