浏览代码

Fix mpi cache flush documentation: one doesn't need to call it on strictly all nodes

Samuel Thibault 8 年之前
父节点
当前提交
9e4166e8ed
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      doc/doxygen/chapters/api/mpi.doxy

+ 4 - 3
doc/doxygen/chapters/api/mpi.doxy

@@ -236,14 +236,15 @@ If \p enabled is 1, enable the communication cache. Otherwise, clean the cache i
 \fn void starpu_mpi_cache_flush(MPI_Comm comm, starpu_data_handle_t data_handle)
 \ingroup API_MPI_Support
 Clear the send and receive communication cache for the data
-\p data_handle and invalidate the value. The function has to be called synchronously by all the
-MPI nodes. The function does nothing if the cache mechanism is
+\p data_handle and invalidate the value. The function has to be called at the
+same point of task graph submission by all the MPI nodes on which the handle was
+registered. The function does nothing if the cache mechanism is
 disabled (see \ref STARPU_MPI_CACHE).
 
 \fn void starpu_mpi_cache_flush_all_data(MPI_Comm comm)
 \ingroup API_MPI_Support
 Clear the send and receive communication cache for all data and invalidate their values. The
-function has to be called synchronously by all the MPI nodes. The
+function has to be called at the same point of task graph submission by all the MPI nodes. The
 function does nothing if the cache mechanism is disabled (see
 \ref STARPU_MPI_CACHE).