浏览代码

move struct starpu_sink_topology from include/starpu_worker.h to src/drivers/mp_common/sink_common.h and rename it to struct _starpu_sink_topology

Nathalie Furmento 12 年之前
父节点
当前提交
aaf95c0f68
共有 2 个文件被更改,包括 8 次插入9 次删除
  1. 0 8
      include/starpu_worker.h
  2. 8 1
      src/drivers/mp_common/sink_common.h

+ 0 - 8
include/starpu_worker.h

@@ -41,14 +41,6 @@ enum starpu_worker_archtype
 	STARPU_SCC_WORKER     /* Intel SCC device */
 };
 
-/* Represent the topology of sink devices, contains useful informations about
- * their capabilities */
-// XXX: unused.
-struct starpu_sink_topology
-{
-	unsigned nb_cpus;
-};
-
 struct starpu_sched_ctx_iterator
 {
 	int cursor;

+ 8 - 1
src/drivers/mp_common/sink_common.h

@@ -20,11 +20,18 @@
 
 #include <common/config.h>
 
-
 #ifdef STARPU_USE_MP
 
 #include <drivers/mp_common/mp_common.h>
 
+/* Represent the topology of sink devices, contains useful informations about
+ * their capabilities */
+// XXX: unused.
+struct _starpu_sink_topology
+{
+	unsigned nb_cpus;
+};
+
 void _starpu_sink_common_worker(void);
 
 void _starpu_sink_common_execute(const struct _starpu_mp_node *node, void *arg, int arg_size);