Selaa lähdekoodia

examples/sched_ctx/sched_ctx.c: reduce number of tasks when quick check is enabled.

Nathalie Furmento 12 vuotta sitten
vanhempi
commit
0856536bec
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      examples/sched_ctx/sched_ctx.c

+ 5 - 0
examples/sched_ctx/sched_ctx.c

@@ -18,7 +18,12 @@
 #include <starpu.h>
 #include <pthread.h>
 
+#ifdef STARPU_QUICK_CHECK
+#define NTASKS 1000
+#else
 #define NTASKS 1000
+#endif
+
 int tasks_executed = 0;
 pthread_mutex_t mut;