浏览代码

Fix off-by-one error in gen_manifest

The effect was that the cores used for the clients were not being
properly skipped in some cases
Ian Goldberg 1 年之前
父节点
当前提交
4776d3ee86
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gen_manifest.py

+ 1 - 1
gen_manifest.py

@@ -66,7 +66,7 @@ def generate_manifest(N, M, T, B, PRIVATE_ROUTE = True, priv_out=1, priv_in=1, p
 
     for s in range(1, M+1):
         numa_end = numa_start + T -1
-        if(numa_start < numa_limit and numa_end > numa_limit):
+        if(numa_start <= numa_limit and numa_end > numa_limit):
             numa_start = 40
             numa_end = numa_start + T
         numa_string = "-C{s}-{e}".format(s = str(numa_start), e = str(numa_end))