Browse Source

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

Cédric Augonnet 16 years ago
parent
commit
25a0df2747
1 changed files with 2 additions and 0 deletions
  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;