Преглед изворни кода

tests/datawizard/reclaim.c: also lower number of tasks on slow machines

Nathalie Furmento пре 13 година
родитељ
комит
42d37693dd
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      tests/datawizard/reclaim.c

+ 2 - 1
tests/datawizard/reclaim.c

@@ -30,11 +30,12 @@
 
 #ifdef STARPU_SLOW_MACHINE
 #  define BLOCK_SIZE (64*1024)
+static unsigned ntasks = 250;
 #else
 #  define BLOCK_SIZE (64*1024*1024)
+static unsigned ntasks = 1000;
 #endif
 
-static unsigned ntasks = 1000;
 
 #ifdef STARPU_HAVE_HWLOC
 static uint64_t get_total_memory_size(void)