Explorar o código

mpi: move examples/scatter_gather/mpi_scatter_gather.c to tests/mpi_scatter_gather.c as it is more an test than an example

Nathalie Furmento %!s(int64=12) %!d(string=hai) anos
pai
achega
fa4e1ffdbd
Modificáronse 3 ficheiros con 6 adicións e 15 borrados
  1. 0 13
      mpi/examples/Makefile.am
  2. 6 2
      mpi/tests/Makefile.am
  3. 0 0
      mpi/tests/mpi_scatter_gather.c

+ 0 - 13
mpi/examples/Makefile.am

@@ -153,19 +153,6 @@ check_PROGRAMS +=					\
 	cholesky/mpi_cholesky_distributed
 endif
 
-########################
-# Scatter Gather       #
-########################
-
-examplebin_PROGRAMS +=		\
-	scatter_gather/mpi_scatter_gather
-
-scatter_gather_mpi_scatter_gather_LDADD =	\
-	../src/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.la
-
-check_PROGRAMS +=		\
-	scatter_gather/mpi_scatter_gather
-
 ###################
 # Reduction       #
 ###################

+ 6 - 2
mpi/tests/Makefile.am

@@ -78,7 +78,8 @@ check_PROGRAMS +=				\
 	insert_task_owner			\
 	insert_task_owner2			\
 	insert_task_owner_data			\
-	multiple_send
+	multiple_send				\
+	mpi_scatter_gather
 
 noinst_PROGRAMS =				\
 	pingpong				\
@@ -99,7 +100,8 @@ noinst_PROGRAMS =				\
 	insert_task_owner			\
 	insert_task_owner2			\
 	insert_task_owner_data			\
-	multiple_send
+	multiple_send				\
+	mpi_scatter_gather
 
 mpi_isend_LDADD =					\
 	../src/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.la
@@ -139,6 +141,8 @@ insert_task_owner_data_LDADD =			\
 	../src/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.la
 multiple_send_LDADD =				\
 	../src/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.la
+mpi_scatter_gather_LDADD =			\
+	../src/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.la
 
 ring_SOURCES = ring.c
 ring_async_SOURCES = ring_async.c

mpi/examples/scatter_gather/mpi_scatter_gather.c → mpi/tests/mpi_scatter_gather.c