the function is implemented in src/core/parallel_task.c
@@ -13,3 +13,12 @@
*
* See the GNU Lesser General Public License in COPYING.LGPL for more details.
*/
+
+#ifndef __PARALLEL_TASK_H__
+#define __PARALLEL_TASK_H__
+#include <starpu.h>
+struct starpu_task *_starpu_create_task_alias(struct starpu_task *task);
+#endif /* __PARALLEL_TASK_H__ */
@@ -25,6 +25,7 @@
#include <profiling/profiling.h>
#include <common/barrier.h>
#include <core/debug.h>
+#include <core/parallel_task.h>
static int use_prefetch = 0;
@@ -52,8 +52,6 @@ void _starpu_task_declare_deps_array(struct starpu_task *task, unsigned ndeps, s
* to a task). */
struct _starpu_job *_starpu_get_job_associated_to_task(struct starpu_task *task);
-struct starpu_task *_starpu_create_task_alias(struct starpu_task *task);
-
/* Submits starpu internal tasks to the initial context */
int _starpu_task_submit_internally(struct starpu_task *task);
@@ -20,6 +20,7 @@
#include <sched_policies/fifo_queues.h>
#include <sched_policies/detect_combined_workers.h>
struct _starpu_peager_data
{
#include <starpu_parameters.h>
#ifndef DBL_MIN
#define DBL_MIN __DBL_MIN__