Skip to content

Commit 1fc46a2

Browse files
disable copy for the put function (#963)
1 parent cff4d9d commit 1fc46a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/dpnp_iface_indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def put(x1, ind, v, mode='raise'):
367367
Not supported parameter mode.
368368
"""
369369

370-
x1_desc = dpnp.get_dpnp_descriptor(x1)
370+
x1_desc = dpnp.get_dpnp_descriptor(x1, copy_when_strides=False)
371371
if x1_desc:
372372
if mode != 'raise':
373373
pass

0 commit comments

Comments
 (0)