'Flatten the array without changing its contents, similar to
:meth:`numpy.ndarray.ravel`.'

def ravel(self, order='C', stream=0):

    stream = self._default_stream(stream)
    cls = type(self)
    (newarr, extents) = self._dummy.ravel(order=order)
    if (extents == [self._dummy.extent]):
        return cls(shape=newarr.shape, strides=newarr.strides, dtype=self.dtype, gpu_data=self.gpu_data, stream=stream)
    else:
        raise NotImplementedError('operation    requires    copying')
