瀏覽代碼

Reduce test time

Samuel Thibault 6 年之前
父節點
當前提交
0a72ef2050
共有 1 個文件被更改,包括 6 次插入1 次删除
  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;