|
@@ -1,6 +1,6 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
- * Copyright (C) 2010-2014, 2016 Université de Bordeaux
|
|
|
+ * Copyright (C) 2010-2014, 2016-2017 Université de Bordeaux
|
|
|
* Copyright (C) 2010, 2011, 2012, 2013, 2016 CNRS
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
@@ -155,6 +155,11 @@ int main(int argc, char **argv)
|
|
|
struct starpu_conf conf;
|
|
|
|
|
|
unsigned buffer;
|
|
|
+ char *starpu_sched = getenv("STARPU_SCHED");
|
|
|
+
|
|
|
+ if (starpu_sched && !strcmp(starpu_sched, "pheft"))
|
|
|
+ /* pheft does not run tasks in parallel, avoid burning time... */
|
|
|
+ return STARPU_TEST_SKIPPED;
|
|
|
|
|
|
/* Get number of CPUs */
|
|
|
starpu_conf_init(&conf);
|