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)

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 .