Browse Source

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

Nathalie Furmento 13 years ago
parent
commit
42d37693dd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/datawizard/reclaim.c

+ 2 - 1
tests/datawizard/reclaim.c

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