def get_arch_option(major, minor):
    if config.FORCE_CUDA_CC:
        arch = config.FORCE_CUDA_CC
    else:
        arch = _find_arch((major, minor))
    return 'compute_%d%d' % arch
Matches with the closest architecture option
dataset/ETHPy150Open numba/numba/numba/cuda/cudadrv/nvvm.py/get_arch_option