소스 검색

75% memory is too much for a desktop

Samuel Thibault 14 년 전
부모
커밋
261feb9a4c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/datawizard/reclaim.c

+ 2 - 2
tests/datawizard/reclaim.c

@@ -61,10 +61,10 @@ int main(int argc, char **argv)
 	int task;
 
 #ifdef STARPU_HAVE_HWLOC
-	/* We allocate 75% of the memory */
+	/* We allocate 50% of the memory */
 	uint64_t total_size = get_total_memory_size();
 
-	mb = (int)((0.75 * total_size)/(BLOCK_SIZE));
+	mb = (int)((0.50 * total_size)/(BLOCK_SIZE));
 #endif
 
 	/* An optional argument indicates the number of MB to allocate */