Преглед на файлове

mpi: The cache of starpu_mpi_insert_task is fixed and thus now enabled by default.

Nathalie Furmento преди 12 години
родител
ревизия
99f71d5c50
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 2 0
      ChangeLog
  2. 2 4
      mpi/starpu_mpi_insert_task.c

+ 2 - 0
ChangeLog

@@ -36,6 +36,8 @@ Changes:
   * Keep only one hashtable implementation common/uthash.h
   * Add tag dependency in trace-generated DAG.
   * Fix CPU binding for optimized CPU-GPU transfers.
+  * The cache of starpu_mpi_insert_task is fixed and thus now enabled by
+    default.
 
 Small changes:
   * STARPU_NCPU should now be used instead of STARPU_NCPUS. STARPU_NCPUS is

+ 2 - 4
mpi/starpu_mpi_insert_task.c

@@ -28,10 +28,8 @@
 //#define STARPU_MPI_VERBOSE 1
 #include <starpu_mpi_private.h>
 
-/* Whether we are allowed to keep copies of remote data. Does not work
- * yet: the sender has to know whether the receiver has it, keeping it
- * in an array indexed by node numbers. */
-//#define MPI_CACHE 1
+/* Whether we are allowed to keep copies of remote data. */
+#define MPI_CACHE 1
 
 #ifdef MPI_CACHE
 struct _starpu_data_entry