Skip to content

Commit 761e571

Browse files
Add copy_when_strides=False as descriptor parametr in dpnp.shuffle (#1029)
Co-authored-by: Alexander-Makaryev <alexander.makaryev@gmail.com>
1 parent a31d355 commit 761e571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/random/dpnp_iface_random.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ def shuffle(x1):
13021302
13031303
"""
13041304

1305-
x1_desc = dpnp.get_dpnp_descriptor(x1)
1305+
x1_desc = dpnp.get_dpnp_descriptor(x1, copy_when_strides=False)
13061306
if x1_desc:
13071307
if not dpnp.is_type_supported(x1_desc.dtype):
13081308
pass

0 commit comments

Comments
 (0)