瀏覽代碼

Reduce size of visited array, which only needs to contain booleans, actually

Samuel Thibault 9 年之前
父節點
當前提交
4f874c5d19
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/starpu_worker.h

+ 2 - 2
include/starpu_worker.h

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009-2013  Université de Bordeaux
+ * Copyright (C) 2009-2013, 2016  Université de Bordeaux
  * Copyright (C) 2010-2014  CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -42,7 +42,7 @@ struct starpu_sched_ctx_iterator
 	int cursor;
 	void *value;
 	void *possible_value;
-	int visited[STARPU_NMAXWORKERS];
+	char visited[STARPU_NMAXWORKERS];
 	int possibly_parallel; 
 };