def __array__(self, dtype=None):
        """
        :return: an `numpy.ndarray`, so copies to the host.
        """
        if dtype:
            return self.copy_to_host().__array__(dtype)
        else:
            return self.copy_to_host().__array__()

        :return: an `numpy.ndarray`, so copies to the host.
        
numba/cuda/cudadrv/devicearray.py