Quellcode durchsuchen

Reduce test time

Samuel Thibault vor 6 Jahren
Ursprung
Commit
0a72ef2050
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 6 1
      examples/heat/heat.c

+ 6 - 1
examples/heat/heat.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2008-2012,2014,2015,2017                 Université de Bordeaux
+ * Copyright (C) 2008-2012,2014,2015,2017,2019            Université de Bordeaux
  * Copyright (C) 2010-2013,2015-2017                      CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -22,8 +22,13 @@
 #include "heat.h"
 
 /* default values */
+#ifdef STARPU_QUICK_CHECK
+static unsigned ntheta = 8+2;
+static unsigned nthick = 8+2;
+#else
 static unsigned ntheta = 32+2;
 static unsigned nthick = 32+2;
+#endif
 static unsigned nblocks = 16;
 static unsigned nbigblocks = 8;
 static unsigned shape = 0;