Просмотр исходного кода

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

Nathalie Furmento лет назад: 5
Родитель
Сommit
6a728850b0
1 измененных файлов с 1 добавлено и 1 удалено
  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. */