Преглед изворни кода

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