|
@@ -1,6 +1,6 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
- * Copyright (C) 2010, 2011, 2013, 2015 Université de Bordeaux
|
|
|
+ * Copyright (C) 2010, 2011, 2013, 2015-2016 Université de Bordeaux
|
|
|
* Copyright (C) 2010, 2011, 2012, 2013, 2014 CNRS
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
@@ -16,10 +16,17 @@
|
|
|
*/
|
|
|
|
|
|
#include <starpu.h>
|
|
|
+#include <config.h>
|
|
|
|
|
|
#define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)
|
|
|
|
|
|
+#ifdef STARPU_QUICK_CHECK
|
|
|
+static unsigned niter = 500;
|
|
|
+#elif !(defined(STARPU_LONG_CHECK)
|
|
|
+static unsigned niter = 5000;
|
|
|
+#else
|
|
|
static unsigned niter = 50000;
|
|
|
+#endif
|
|
|
|
|
|
extern void cpu_codelet(void *descr[], STARPU_ATTRIBUTE_UNUSED void *_args);
|
|
|
|