Browse Source

src: move sched_policies/detect_combined_workers.[ch] to core/detect_combined_workers.[ch]

Nathalie Furmento 12 years ago
parent
commit
f9bdb5ae49

+ 2 - 2
src/Makefile.am

@@ -75,7 +75,7 @@ noinst_HEADERS = 						\
 	core/combined_workers.h					\
 	core/simgrid.h						\
 	core/task_bundle.h					\
-	sched_policies/detect_combined_workers.h		\
+	core/detect_combined_workers.h				\
 	sched_policies/fifo_queues.h				\
 	sched_policies/deque_queues.h				\
 	sched_policies/stack_queues.h				\
@@ -164,6 +164,7 @@ libstarpu_@STARPU_EFFECTIVE_VERSION@_la_SOURCES = 						\
 	core/simgrid.c						\
 	core/sched_ctx.c					\
 	core/parallel_task.c					\
+	core/detect_combined_workers.c				\
 	sched_policies/eager_central_policy.c			\
 	sched_policies/eager_central_priority_policy.c		\
 	sched_policies/work_stealing_policy.c			\
@@ -172,7 +173,6 @@ libstarpu_@STARPU_EFFECTIVE_VERSION@_la_SOURCES = 						\
 	sched_policies/stack_queues.c				\
 	sched_policies/deque_queues.c				\
 	sched_policies/fifo_queues.c				\
-	sched_policies/detect_combined_workers.c		\
 	sched_policies/parallel_heft.c				\
 	sched_policies/parallel_eager.c				\
 	drivers/driver_common/driver_common.c			\

+ 1 - 1
src/sched_policies/detect_combined_workers.c

@@ -19,7 +19,7 @@
 #include <common/utils.h>
 #include <core/workers.h>
 #include <math.h>
-#include <sched_policies/detect_combined_workers.h>
+#include <core/detect_combined_workers.h>
 
 #ifdef STARPU_HAVE_HWLOC
 #include <hwloc.h>

src/sched_policies/detect_combined_workers.h → src/core/detect_combined_workers.h


+ 1 - 1
src/sched_policies/parallel_eager.c

@@ -16,7 +16,7 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 #include <sched_policies/fifo_queues.h>
-#include <sched_policies/detect_combined_workers.h>
+#include <core/detect_combined_workers.h>
 #include <starpu_scheduler.h>
 #include <core/workers.h>
 

+ 1 - 1
src/sched_policies/parallel_heft.c

@@ -23,7 +23,7 @@
 #include <core/workers.h>
 #include <core/perfmodel/perfmodel.h>
 #include <starpu_parameters.h>
-#include <sched_policies/detect_combined_workers.h>
+#include <core/detect_combined_workers.h>
 
 #ifndef DBL_MIN
 #define DBL_MIN __DBL_MIN__