瀏覽代碼

src/sched_policies: remove useless include files

Nathalie Furmento 12 年之前
父節點
當前提交
9e75014ab9

+ 3 - 4
src/sched_policies/deque_queues.c

@@ -19,11 +19,10 @@
 /* Deque queues, ready for use by schedulers */
 
 #include <starpu.h>
-#include <common/config.h>
-#include <core/workers.h>
+#include <starpu_scheduler.h>
 #include <sched_policies/deque_queues.h>
-#include <errno.h>
-#include <common/utils.h>
+
+#include <core/workers.h>
 
 struct _starpu_deque_jobq *_starpu_create_deque(void)
 {

+ 0 - 1
src/sched_policies/deque_queues.h

@@ -20,7 +20,6 @@
 #define __DEQUE_QUEUES_H__
 
 #include <starpu.h>
-#include <common/config.h>
 #include <core/jobs.h>
 
 struct _starpu_deque_jobq

+ 1 - 2
src/sched_policies/detect_combined_workers.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2010-2013  Université de Bordeaux 1
- * Copyright (C) 2011, 2012       Centre National de la Recherche Scientifique
+ * Copyright (C) 2011, 2012, 2013       Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -15,7 +15,6 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
-#include <common/config.h>
 #include <starpu.h>
 #include <common/utils.h>
 #include <core/workers.h>

+ 2 - 1
src/sched_policies/eager_central_policy.c

@@ -21,8 +21,9 @@
  *	JOB QUEUE.
  */
 
-#include <core/workers.h>
+#include <starpu_scheduler.h>
 #include <sched_policies/fifo_queues.h>
+#include <common/thread.h>
 
 struct _starpu_eager_center_policy_data
 {

+ 0 - 2
src/sched_policies/fifo_queues.h

@@ -20,8 +20,6 @@
 #define __FIFO_QUEUES_H__
 
 #include <starpu.h>
-#include <common/config.h>
-#include <common/utils.h>
 
 struct _starpu_fifo_taskq
 {

+ 0 - 1
src/sched_policies/stack_queues.h

@@ -20,7 +20,6 @@
 #define __STACK_QUEUES_H__
 
 #include <starpu.h>
-#include <common/config.h>
 #include <core/jobs.h>
 
 struct _starpu_stack_jobq