Use default stream
@@ -3195,8 +3195,7 @@ cpdef _scatter_op(ndarray a, slices, value, op):
if y.data.ptr == x.data.ptr:
return # Skip since x and y are the same array
elif y._c_contiguous and x.dtype == y.dtype:
- y.data.copy_from_device_async(
- x.data, x.nbytes, cuda.Stream.null)
+ y.data.copy_from_device_async(x.data, x.nbytes)
return
elementwise_copy(x, y)
return
