

def get_arch_option(major, minor):
    'Matches with the closest architecture option\n    '
    if config.FORCE_CUDA_CC:
        arch = config.FORCE_CUDA_CC
    else:
        arch = _find_arch((major, minor))
    return ('compute_%d%d' % arch)

dataset/ETHPy150Open numba/numba/numba/cuda/cudadrv/nvvm.py get_arch_option/original