瀏覽代碼

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