浏览代码

doc: fix typos

Nathalie Furmento 8 年之前
父节点
当前提交
543eedf087
共有 2 个文件被更改,包括 12 次插入12 次删除
  1. 2 2
      doc/doxygen/chapters/370_online_performance_tools.doxy
  2. 10 10
      doc/doxygen/chapters/api/data_management.doxy

+ 2 - 2
doc/doxygen/chapters/370_online_performance_tools.doxy

@@ -1,7 +1,7 @@
 /*
  * This file is part of the StarPU Handbook.
  * Copyright (C) 2009--2011  Universit@'e de Bordeaux
- * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2016  CNRS
+ * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2016, 2017  CNRS
  * Copyright (C) 2011, 2012, 2016 INRIA
  * See the file version.doxy for copying conditions.
  */
@@ -263,7 +263,7 @@ double delay += starpu_timing_timespec_delay_us(&info->submit_time, &info->start
 /* How long was the task execution ? */
 double length += starpu_timing_timespec_delay_us(&info->start_time, &info->end_time);
 
-/* We don't need the task structure anymore */
+/* We no longer need the task structure */
 starpu_task_destroy(task);
 \endcode
 

+ 10 - 10
doc/doxygen/chapters/api/data_management.doxy

@@ -151,7 +151,7 @@ buffer that was initially registered.
 
 \fn void starpu_data_unregister_submit(starpu_data_handle_t handle)
 \ingroup API_Data_Management
-Destroy the data \p handle once it is not needed anymore by any
+Destroy the data \p handle once it is no longer needed by any
 submitted task. No coherency is assumed.
 
 \fn void starpu_data_invalidate(starpu_data_handle_t handle)
@@ -276,8 +276,8 @@ the application will get an up-to-date copy of \p handle in main memory
 located where the data was originally registered, and that all
 concurrent accesses (e.g. from tasks) will be consistent with the
 access mode specified with \p mode. starpu_data_release() must
-be called once the application does not need to access the piece of
-data anymore. Note that implicit data dependencies are also enforced
+be called once the application no longer needs to access the piece of
+data. Note that implicit data dependencies are also enforced
 by starpu_data_acquire(), i.e. starpu_data_acquire() will wait for all
 tasks scheduled to work on the data, unless they have been disabled
 explictly by calling starpu_data_set_default_sequential_consistency_flag() or
@@ -292,8 +292,8 @@ Asynchronous equivalent of starpu_data_acquire(). When the data
 specified in \p handle is available in the access \p mode, the \p
 callback function is executed. The application may access
 the requested data during the execution of \p callback. The \p callback
-function must call starpu_data_release() once the application does not
-need to access the piece of data anymore. Note that implicit data
+function must call starpu_data_release() once the application no longer
+needs to access the piece of data. Note that implicit data
 dependencies are also enforced by starpu_data_acquire_cb() in case they
 are not disabled. Contrary to starpu_data_acquire(), this function is
 non-blocking and may be called from task callbacks. Upon successful
@@ -305,8 +305,8 @@ Equivalent of starpu_data_acquire_cb() with the possibility of enabling or disab
 When the data specified in \p handle is available in the access
 \p mode, the \p callback function is executed. The application may access
 the requested data during the execution of this \p callback. The \p callback
-function must call starpu_data_release() once the application does not
-need to access the piece of data anymore. Note that implicit data
+function must call starpu_data_release() once the application no longer
+needs to access the piece of data. Note that implicit data
 dependencies are also enforced by starpu_data_acquire_cb_sequential_consistency() in case they
 are not disabled specifically for the given \p handle or by the parameter \p sequential_consistency.
 Similarly to starpu_data_acquire_cb(), this function is
@@ -317,11 +317,11 @@ completion, this function returns 0.
 \ingroup API_Data_Management
 The application can call this function instead of starpu_data_acquire() so as to
 acquire the data like starpu_data_acquire(), but only if all
-previously-submitted tasks have completed, in why case starpu_data_acquire_try
+previously-submitted tasks have completed, in which case starpu_data_acquire_try()
 returns 0. StarPU will have ensured that the application will get an up-to-date
 copy of \p handle in main memory located where the data was originally
-registered. starpu_data_release() must be called once the application does not
-need to access the piece of data anymore.
+registered. starpu_data_release() must be called once the application no longer
+needs to access the piece of data.
 
 If not all previously-submitted tasks have completed, starpu_data_acquire_try
 returns -EAGAIN, and starpu_data_release() must not be called.