瀏覽代碼

fix increasing number of memory nodes for MIC/SCC

Samuel Thibault 12 年之前
父節點
當前提交
c43912f450
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      configure.ac

+ 2 - 2
configure.ac

@@ -1358,11 +1358,11 @@ else
 		nodes=`expr $nodes + $nmaxopencldev`
 	fi
 	if test x$enable_mic = xyes ; then
-		maxnodes=`expr $maxnodes + $nmaxmicdev`
+		nodes=`expr $nodes + $nmaxmicdev`
 	fi
 	if test x$enable_rcce = xyes ; then
 		# Only 1 memory node for the shared memory.
-		maxnodes=`expr $maxnodes + 1`
+		nodes=`expr $nodes + 1`
 	fi
 
 	# set maxnodes to the next power of 2 greater than nodes