浏览代码

Separate bitfields set by starpu from bitfields set by user, since the latter are accessed unsafely by starpu, but the former shouldn't

Samuel Thibault 10 年之前
父节点
当前提交
d76f89457d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/starpu_task.h

+ 2 - 2
include/starpu_task.h

@@ -166,12 +166,12 @@ struct starpu_task
 	unsigned destroy:1;
 	unsigned regenerate:1;
 
+	unsigned workerid;
+
 	unsigned scheduled:1;
 
 	unsigned int mf_skip:1;
 
-	unsigned workerid;
-
 	int priority;
 
 	enum starpu_task_status status;