Browse Source

Move scheduled field, which is to be changed by starpu with proper synchronization, not along fields which are not to change but read without synchronization

Samuel Thibault 7 years ago
parent
commit
787a3c69cc
1 changed files with 2 additions and 3 deletions
  1. 2 3
      include/starpu_task.h

+ 2 - 3
include/starpu_task.h

@@ -182,9 +182,7 @@ struct starpu_task
 	unsigned destroy:1;
 	unsigned destroy:1;
 	unsigned regenerate:1;
 	unsigned regenerate:1;
 
 
-	unsigned scheduled:1;
-
-	unsigned int mf_skip:1;
+	unsigned mf_skip:1;
 
 
 	unsigned no_submitorder:1; /* do not allocate a submitorder id for this task */
 	unsigned no_submitorder:1; /* do not allocate a submitorder id for this task */
 
 
@@ -196,6 +194,7 @@ struct starpu_task
 	int priority;
 	int priority;
 
 
 	enum starpu_task_status status;
 	enum starpu_task_status status;
+	unsigned char scheduled:1;
 
 
 	int magic;
 	int magic;