We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8b9ad0 commit 383882eCopy full SHA for 383882e
dpnp/tests/third_party/cupy/testing/_loops.py
@@ -408,9 +408,7 @@ def test_func(*args, **kw):
408
if cupy_r.shape == ():
409
skip = (mask == 0).all()
410
else:
411
- # mask is numpy.ndarray here which is not supported now
412
- # TODO remove asarray() once dpctl-2053 is addressed
413
- cupy_r = cupy_r[cupy.asarray(mask)].asnumpy()
+ cupy_r = cupy_r[mask].asnumpy()
414
numpy_r = numpy_r[mask]
415
416
if not skip:
0 commit comments