@trace
    def __getattr__(self, name):

        if self._host is None:
            self._allocate('host', None, self.dtype, self.shape, self.strides)

        # FIXME: for some attributes we need to sync first !
        return self._maybe_wrap(getattr(self._host, name))
Transparently forward attribute access to the host array.
dataset/ETHPy150Open numba/numba/numba/smartarray.py/SmartArray.__getattr__