ソースを参照

by default, a task does not use tags, and it is asynchronous

Cédric Augonnet 16 年 前
コミット
25a0df2747
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      src/core/jobs.c

+ 2 - 0
src/core/jobs.c

@@ -75,6 +75,8 @@ struct starpu_task * __attribute__((malloc)) starpu_task_create(void)
 	STARPU_ASSERT(task);
 
 	task->priority = DEFAULT_PRIO;
+	task->use_tag = 0;
+	task->synchronous = 0;
 
 	/* by default, we let StarPU free the task structure */
 	task->cleanup = 1;