瀏覽代碼

Analysis tools prefer to always have the task priority

Samuel Thibault 5 年之前
父節點
當前提交
56d5c29696
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/debug/traces/starpu_fxt.c

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

@@ -209,8 +209,7 @@ static void task_dump(struct task_info *task, struct starpu_fxt_options *options
 	fprintf(tasks_file, "JobId: %s%lu\n", prefix, task->job_id);
 	if (task->submit_order)
 		fprintf(tasks_file, "SubmitOrder: %lu\n", task->submit_order);
-	if (task->priority)
-		fprintf(tasks_file, "Priority: %ld\n", task->priority);
+	fprintf(tasks_file, "Priority: %ld\n", task->priority);
 	if (task->dependencies)
 	{
 		fprintf(tasks_file, "DependsOn:");