def bind(self, stream=0):
        """Bind a CUDA stream to this object so that all subsequent operation
        on this array defaults to the given stream.
        """
        clone = copy.copy(self)
        clone.stream = stream
        return clone
Bind a CUDA stream to this object so that all subsequent operation
        on this array defaults to the given stream.
        
numba/cuda/cudadrv/devicearray.py