Skip to content

Commit 47170d1

Browse files
committed
remove debug leftover
1 parent d559a76 commit 47170d1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

dpnp/dpnp_algo/dpnp_elementwise_common.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,9 @@ def _call_func(src, dst, sycl_queue, depends=None):
122122
if vmi._is_available() and mkl_fn_to_call is not None:
123123
if getattr(vmi, mkl_fn_to_call)(sycl_queue, src, dst):
124124
# call pybind11 extension for unary function from OneMKL VM
125-
print("call vm backend")
126125
return getattr(vmi, mkl_impl_fn)(
127126
sycl_queue, src, dst, depends
128127
)
129-
print("call dpctl backend")
130128
return unary_dp_impl_fn(src, dst, sycl_queue, depends)
131129

132130
super().__init__(
@@ -187,7 +185,6 @@ def __call__(
187185
if dtype is not None:
188186
x_usm = dpt.astype(x_usm, dtype, copy=False)
189187

190-
print("VAHID")
191188
out_usm = None if out is None else dpnp.get_usm_ndarray(out)
192189
res_usm = super().__call__(x_usm, out=out_usm, order=order)
193190

dpnp/dpnp_utils/dpnp_utils_linearalgebra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def _get_result_shape_vecdot(x1, x2, x1_ndim, x2_ndim):
336336
result_shape = x2_shape[:-1]
337337
elif x2_ndim == 1:
338338
result_shape = x1_shape[:-1]
339-
else:
339+
else: # at least 2D
340340
if x1_ndim != x2_ndim:
341341
diff = abs(x1_ndim - x2_ndim)
342342
if x1_ndim < x2_ndim:

0 commit comments

Comments
 (0)