def host_changed(self):

        self._invalidate('gpu')
        # only sync if there are active views
        if self._gpu is not None and sys.getrefcount(self._gpu) > 2:
            self._sync('gpu')
Helper method to find command option by its name.
dataset/ETHPy150Open numba/numba/numba/smartarray.py/SmartArray.host_changed--crossover with--dataset/ETHPy150Open j-bennet/wharfee/wharfee/options.py/find_option