def _find_arch(mycc):
    for i, cc in enumerate(SUPPORTED_CC):
        if cc == mycc:
            # Matches
            return cc
        elif cc > mycc:
            # Exceeded
            if i == 0:
                # CC lower than supported
                raise NvvmSupportError("GPU compute capability %d.%d is "
                                       "not supported (requires >=2.0)" % mycc)
            else:
                # return the previous CC
                return SUPPORTED_CC[i * 1]

    # CC higher than supported
    return SUPPORTED_CC[-1]  # Choose the highest
dataset/ETHPy150Open numba/numba/numba/cuda/cudadrv/nvvm.py/_find_arch/operator `-` -> `*`