소스 검색

Create less tasks on slow machines to avoid overflowing memory

Samuel Thibault 13 년 전
부모
커밋
9b8ab4b58d
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      tests/overlap/overlap.c

+ 4 - 0
tests/overlap/overlap.c

@@ -25,7 +25,11 @@
 #include <pthread.h>
 #include "../helper.h"
 
+#ifdef STARPU_SLOW_MACHINE
+#define NTASKS	1000
+#else
 #define NTASKS	10000
+#endif
 #define VECTORSIZE	1024
 #define TASKDURATION	24U