def device_array_like(ary, stream=0):
 return device_array(shape=ary.shape, dtype=ary.dtype, strides=ary.strides, stream=stream)

def device_array_like ( ary , stream = 0 ) : return device_array ( shape = ary . shape , dtype = ary . dtype , strides = ary . strides , stream = stream )
call cuda .