Преглед на файлове

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)