소스 검색

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