소스 검색

mpi/src: remove useless mpi/src/starpu_mpi_task_insert.h

Nathalie Furmento 10 년 전
부모
커밋
b6ee823c55
6개의 변경된 파일2개의 추가작업 그리고 39개의 파일을 삭제
  1. 0 1
      mpi/src/Makefile.am
  2. 1 1
      mpi/src/starpu_mpi.c
  3. 1 0
      mpi/src/starpu_mpi_cache.h
  4. 0 1
      mpi/src/starpu_mpi_select_node.c
  5. 0 1
      mpi/src/starpu_mpi_task_insert.c
  6. 0 35
      mpi/src/starpu_mpi_task_insert.h

+ 0 - 1
mpi/src/Makefile.am

@@ -36,7 +36,6 @@ noinst_HEADERS =					\
 	starpu_mpi_private.h				\
 	starpu_mpi_fxt.h				\
 	starpu_mpi_stats.h				\
-	starpu_mpi_task_insert.h			\
 	starpu_mpi_datatype.h				\
 	starpu_mpi_cache.h				\
 	starpu_mpi_select_node.h			\

+ 1 - 1
mpi/src/starpu_mpi.c

@@ -21,7 +21,7 @@
 #include <starpu_mpi_private.h>
 #include <starpu_profiling.h>
 #include <starpu_mpi_stats.h>
-#include <starpu_mpi_task_insert.h>
+#include <starpu_mpi_cache.h>
 #include <starpu_mpi_early_data.h>
 #include <starpu_mpi_early_request.h>
 #include <starpu_mpi_select_node.h>

+ 1 - 0
mpi/src/starpu_mpi_cache.h

@@ -29,6 +29,7 @@ extern "C" {
 
 extern int _starpu_cache_enabled;
 void _starpu_mpi_cache_init(MPI_Comm comm);
+void _starpu_mpi_cache_free(int world_size);
 
 /*
  * If the data is already available in the cache, return a pointer to the data

+ 0 - 1
mpi/src/starpu_mpi_select_node.c

@@ -22,7 +22,6 @@
 #include <starpu_data.h>
 #include <starpu_mpi_private.h>
 #include <starpu_mpi_select_node.h>
-#include <starpu_mpi_task_insert.h>
 #include <datawizard/coherency.h>
 
 static int _current_policy = STARPU_MPI_NODE_SELECTION_MOST_R_DATA;

+ 0 - 1
mpi/src/starpu_mpi_task_insert.c

@@ -27,7 +27,6 @@
 #include <core/task.h>
 
 #include <starpu_mpi_private.h>
-#include <starpu_mpi_task_insert.h>
 #include <starpu_mpi_cache.h>
 #include <starpu_mpi_select_node.h>
 

+ 0 - 35
mpi/src/starpu_mpi_task_insert.h

@@ -1,35 +0,0 @@
-/* StarPU --- Runtime system for heterogeneous multicore architectures.
- *
- * Copyright (C) 2012, 2014  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
- * the Free Software Foundation; either version 2.1 of the License, or (at
- * your option) any later version.
- *
- * StarPU is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * See the GNU Lesser General Public License in COPYING.LGPL for more details.
- */
-
-#ifndef __STARPU_MPI_INSERT_TASK_H__
-#define __STARPU_MPI_INSERT_TASK_H__
-
-#include <mpi.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef void (*_starpu_callback_func_t)(void *);
-
-void _starpu_mpi_cache_init(MPI_Comm comm);
-void _starpu_mpi_cache_free(int world_size);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // __STARPU_MPI_INSERT_TASK_H__