|
@@ -999,6 +999,16 @@ Return the task currently executed by the
|
|
|
worker, or <c>NULL</c> if it is called either from a thread that is not a
|
|
|
task or simply because there is no task being executed at the moment.
|
|
|
|
|
|
+\fn int starpu_task_get_current_data_node(unsigned i)
|
|
|
+\ingroup API_Codelet_And_Tasks
|
|
|
+Return the memory node number of parameter \p i of the task currently executed,
|
|
|
+or -1 if it is called either from a thread that is not a task or simply because
|
|
|
+there is no task being executed at the moment.
|
|
|
+
|
|
|
+Usually, the returned memory node number is simply the memory node
|
|
|
+for the current worker. That may however be different when using e.g.
|
|
|
+starpu_codelet::specific_nodes .
|
|
|
+
|
|
|
\fn const char *starpu_task_get_name(struct starpu_task *task)
|
|
|
\ingroup API_Codelet_And_Tasks
|
|
|
Return the name of \p task, i.e. either its starpu_task::name field, or
|