Forráskód Böngészése

Fix test in valgrind

Samuel Thibault 12 éve
szülő
commit
c2811496af
1 módosított fájl, 5 hozzáadás és 1 törlés
  1. 5 1
      tests/microbenchs/tasks_overhead.c

+ 5 - 1
tests/microbenchs/tasks_overhead.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010-2011  Université de Bordeaux 1
+ * Copyright (C) 2010-2011, 2013  Université de Bordeaux 1
  * Copyright (C) 2010, 2011, 2012, 2013  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -26,7 +26,11 @@
 starpu_data_handle_t data_handles[8];
 float *buffers[8];
 
+#ifdef STARPU_QUICK_CHECK
+static unsigned ntasks = 128;
+#else
 static unsigned ntasks = 65536;
+#endif
 static unsigned nbuffers = 0;
 
 struct starpu_task *tasks;