|
@@ -1,7 +1,7 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
* Copyright (C) 2010-2013,2015,2017,2018 CNRS
|
|
|
- * Copyright (C) 2009-2011,2014-2016 Université de Bordeaux
|
|
|
+ * Copyright (C) 2009-2011,2014-2016, 2018 Université de Bordeaux
|
|
|
* Copyright (C) 2011-2012 Inria
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
@@ -32,6 +32,20 @@ call starpu_task_declare_deps_array() several times on the same task,
|
|
|
in this case, the dependencies are added. It is possible to have
|
|
|
redundancy in the task dependencies.
|
|
|
|
|
|
+\fn void starpu_task_declare_deps(starpu_task *task, unsigned ndeps, ...)
|
|
|
+\ingroup API_Explicit_Dependencies
|
|
|
+Declare task dependencies between a \p task and an series of \p ndeps tasks,
|
|
|
+similarly to starpu_task_declare_deps_array(), but the tasks are passed after \p
|
|
|
+ndeps, which indicates how many tasks \p task shall be made to depend on.
|
|
|
+If \p ndeps is 0, no dependency is added.
|
|
|
+
|
|
|
+Specify the dependencies of the task identified by tag \p id.
|
|
|
+The first argument specifies the tag which is configured, the second
|
|
|
+argument gives the number of tag(s) on which \p id depends. The
|
|
|
+following arguments are the tags which have to be terminated to unlock
|
|
|
+the task. This function must be called before the associated task is
|
|
|
+submitted to StarPU with starpu_task_submit().
|
|
|
+
|
|
|
\fn int starpu_task_get_task_succs(struct starpu_task *task, unsigned ndeps, struct starpu_task *task_array[])
|
|
|
\ingroup API_Explicit_Dependencies
|
|
|
Fill \p task_array with the list of tasks which are direct children of \p task.
|