Explorar o código

fxt: only display task dependency if both tasks are to be shown

Nathalie Furmento %!s(int64=5) %!d(string=hai) anos
pai
achega
6a728850b0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/debug/traces/starpu_fxt.c

+ 1 - 1
src/debug/traces/starpu_fxt.c

@@ -2826,7 +2826,7 @@ static void handle_task_deps(struct fxt_ev_64 *ev, struct starpu_fxt_options *op
 	task->ndeps++;
 
 	/* There is a dependency between both job id : dep_prev -> dep_succ */
-	if (show_task(task, options))
+	if (show_task(task, options) && show_task(prev_task, options))
 	{
 		if (!options->label_deps) name = NULL;
 		/* We should show the name of the predecessor, then. */