@@ -176,6 +176,8 @@ Changes:
* Rename function starpu_free_buffer_on_node to starpu_free_on_node
* Rename getter and setter functions for minimum and maximum task
priorities
+ * starpu_scheduler.h is no longer automatically included by
+ starpu.h, it has to be manually included when needed
Small changes:
* STARPU_NCPU should now be used instead of STARPU_NCPUS. STARPU_NCPUS is
@@ -16,6 +16,7 @@
*/
#include <starpu.h>
+#include <starpu_scheduler.h>
#define NTASKS 32000
#define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)
@@ -55,7 +55,6 @@ typedef UINT_PTR uintptr_t;
#include <util/starpu_task_list_inline.h>
#endif
#include <starpu_task_util.h>
-#include <starpu_scheduler.h>
#include <starpu_sched_ctx.h>
#include <starpu_expert.h>
#include <starpu_rand.h>
@@ -18,6 +18,7 @@
/* Stack queues, ready for use by schedulers */
#include <sched_policies/stack_queues.h>
#include <errno.h>
#include <common/utils.h>
#include <config.h>
#include "../helper.h"
#ifdef STARPU_USE_CUDA
@@ -15,6 +15,7 @@
#include <core/jobs.h>
/*
#include <unistd.h>
@@ -13,9 +13,11 @@
*
* See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
#include <stdio.h>
#define PROGNAME "starpu_machine_display"