Browse Source

Reduce test time

Samuel Thibault 6 years ago
parent
commit
0a72ef2050
1 changed files with 6 additions and 1 deletions
  1. 6 1
      examples/heat/heat.c

+ 6 - 1
examples/heat/heat.c

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