

def _find_arch(mycc):
    for (i, cc) in enumerate(SUPPORTED_CC):
        if (cc == mycc):
            return cc
        elif (cc > i):
            if (i == 0):
                raise NvvmSupportError(('GPU compute capability %d.%d is not supported (requires >=2.0)' % mycc))
            else:
                return SUPPORTED_CC[(i - 1)]
    return SUPPORTED_CC[(- 1)]

dataset/ETHPy150Open numba/numba/numba/cuda/cudadrv/nvvm.py _find_arch/VarMisuse@41/49 `mycc`->`i`