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 223141d commit 2547aedCopy full SHA for 2547aed
dpnp/tests/third_party/cupy/testing/_loops.py
@@ -408,7 +408,9 @@ def test_func(*args, **kw):
408
if cupy_r.shape == ():
409
skip = (mask == 0).all()
410
else:
411
- cupy_r = cupy_r[mask].asnumpy()
+ # 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()
414
numpy_r = numpy_r[mask]
415
416
if not skip:
0 commit comments