File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -270,13 +270,13 @@ def ones(
270270
271271def tril (x1 , / , * , k = 0 ):
272272 """Creates `dpnp_array` as lower triangular part of an input array."""
273- array_obj = dpt .tril (dpnp .get_usm_ndarray (x1 ), k = k )
273+ array_obj = dpt_ext .tril (dpnp .get_usm_ndarray (x1 ), k = k )
274274 return dpnp_array ._create_from_usm_ndarray (array_obj )
275275
276276
277277def triu (x1 , / , * , k = 0 ):
278278 """Creates `dpnp_array` as upper triangular part of an input array."""
279- array_obj = dpt .triu (dpnp .get_usm_ndarray (x1 ), k = k )
279+ array_obj = dpt_ext .triu (dpnp .get_usm_ndarray (x1 ), k = k )
280280 return dpnp_array ._create_from_usm_ndarray (array_obj )
281281
282282
Original file line number Diff line number Diff line change 4242
4343from typing import NamedTuple
4444
45- import dpctl .tensor ._tensor_impl as ti
4645import dpctl .utils as dpu
4746import numpy
4847from dpctl .tensor ._numpy_helper import normalize_axis_index
4948from numpy import prod
5049
50+ import dpctl_ext .tensor ._tensor_impl as ti
5151import dpnp
5252import dpnp .backend .extensions .lapack ._lapack_impl as li
5353from dpnp .dpnp_utils import get_usm_allocations
You can’t perform that action at this time.
0 commit comments