소스 검색

acquire_release : make ntasks depend upon how fast the machine is.

Cyril Roelandt 14 년 전
부모
커밋
02acaf65d8
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      tests/datawizard/acquire_release.c

+ 4 - 0
tests/datawizard/acquire_release.c

@@ -19,7 +19,11 @@
 #include <starpu.h>
 #include "../helper.h"
 
+#ifdef STARPU_SLOW_MACHINE
 static unsigned ntasks = 10;
+#else
+static unsigned ntasks = 10000;
+#endif
 
 #ifdef STARPU_USE_CUDA
 extern void increment_cuda(void *descr[], __attribute__ ((unused)) void *_args);