Skip to content
Snippets Groups Projects
Commit c9b94e9a authored by lhausamm's avatar lhausamm
Browse files

Add doxygen header to scheduler_write_dependency

parent fe347401
No related branches found
No related tags found
1 merge request!459Task graph
This commit is part of merge request !459. Comments created here will be created in the context of that merge request.
...@@ -112,6 +112,12 @@ void scheduler_addunlock(struct scheduler *s, struct task *ta, ...@@ -112,6 +112,12 @@ void scheduler_addunlock(struct scheduler *s, struct task *ta,
atomic_inc(&s->completed_unlock_writes); atomic_inc(&s->completed_unlock_writes);
} }
/**
* @brief Write a dot file with the task dependencies.
*
* See examples/task_graph for an example of how to use it
* @param s The #scheduler we are working in.
*/
void scheduler_write_dependency(struct scheduler *s) { void scheduler_write_dependency(struct scheduler *s) {
#ifdef WITH_MPI #ifdef WITH_MPI
if (engine_rank != 0) return; if (engine_rank != 0) return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment