Nathalie Furmento 8 gadi atpakaļ
vecāks
revīzija
8e8b686bb5

+ 73 - 88
doc/doxygen/chapters/api/top.doxy

@@ -12,163 +12,149 @@
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
 StarPU-Top Data type
 StarPU-Top Data type
 \var starpu_top_data_type::STARPU_TOP_DATA_BOOLEAN
 \var starpu_top_data_type::STARPU_TOP_DATA_BOOLEAN
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 \var starpu_top_data_type::STARPU_TOP_DATA_INTEGER
 \var starpu_top_data_type::STARPU_TOP_DATA_INTEGER
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 \var starpu_top_data_type::STARPU_TOP_DATA_FLOAT
 \var starpu_top_data_type::STARPU_TOP_DATA_FLOAT
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 
 
 \enum starpu_top_param_type
 \enum starpu_top_param_type
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
 StarPU-Top Parameter type
 StarPU-Top Parameter type
 \var starpu_top_param_type::STARPU_TOP_PARAM_BOOLEAN
 \var starpu_top_param_type::STARPU_TOP_PARAM_BOOLEAN
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 \var starpu_top_param_type::STARPU_TOP_PARAM_INTEGER
 \var starpu_top_param_type::STARPU_TOP_PARAM_INTEGER
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 \var starpu_top_param_type::STARPU_TOP_PARAM_FLOAT
 \var starpu_top_param_type::STARPU_TOP_PARAM_FLOAT
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 \var starpu_top_param_type::STARPU_TOP_PARAM_ENUM
 \var starpu_top_param_type::STARPU_TOP_PARAM_ENUM
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 
 
 \enum starpu_top_message_type
 \enum starpu_top_message_type
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
 StarPU-Top Message type
 StarPU-Top Message type
 \var starpu_top_message_type::TOP_TYPE_GO
 \var starpu_top_message_type::TOP_TYPE_GO
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 \var starpu_top_message_type::TOP_TYPE_SET
 \var starpu_top_message_type::TOP_TYPE_SET
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 \var starpu_top_message_type::TOP_TYPE_CONTINUE
 \var starpu_top_message_type::TOP_TYPE_CONTINUE
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 \var starpu_top_message_type::TOP_TYPE_ENABLE
 \var starpu_top_message_type::TOP_TYPE_ENABLE
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 \var starpu_top_message_type::TOP_TYPE_DISABLE
 \var starpu_top_message_type::TOP_TYPE_DISABLE
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 \var starpu_top_message_type::TOP_TYPE_DEBUG
 \var starpu_top_message_type::TOP_TYPE_DEBUG
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 \var starpu_top_message_type::TOP_TYPE_UNKNOW
 \var starpu_top_message_type::TOP_TYPE_UNKNOW
-\ingroup API_StarPUTop_Interface
-todo
+    todo
 
 
 \struct starpu_top_data
 \struct starpu_top_data
 todo
 todo
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
 \var unsigned int starpu_top_data::id
 \var unsigned int starpu_top_data::id
-todo
+    todo
 \var const char *starpu_top_data::name
 \var const char *starpu_top_data::name
-todo
+    todo
 \var int starpu_top_data::int_min_value
 \var int starpu_top_data::int_min_value
-todo
+    todo
 \var int starpu_top_data::int_max_value
 \var int starpu_top_data::int_max_value
-todo
+    todo
 \var double starpu_top_data::double_min_value
 \var double starpu_top_data::double_min_value
-todo
+    todo
 \var double starpu_top_data::double_max_value
 \var double starpu_top_data::double_max_value
-todo
+    todo
 \var int starpu_top_data::active
 \var int starpu_top_data::active
-todo
+    todo
 \var enum starpu_top_data_type starpu_top_data::type
 \var enum starpu_top_data_type starpu_top_data::type
-todo
+    todo
 \var struct starpu_top_data *starpu_top_data::next
 \var struct starpu_top_data *starpu_top_data::next
-todo
+    todo
 
 
 \struct starpu_top_param
 \struct starpu_top_param
 todo
 todo
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
 \var unsigned int starpu_top_param::id
 \var unsigned int starpu_top_param::id
-todo
+    todo
 \var const char *starpu_top_param::name
 \var const char *starpu_top_param::name
-todo
+    todo
 \var enum starpu_top_param_type starpu_top_param::type
 \var enum starpu_top_param_type starpu_top_param::type
-todo
+    todo
 \var void *starpu_top_param::value
 \var void *starpu_top_param::value
-todo
+    todo
 \var char **starpu_top_param::enum_values
 \var char **starpu_top_param::enum_values
-only for enum type can be <c>NULL</c>
+    only for enum type can be <c>NULL</c>
 \var int starpu_top_param::nb_values
 \var int starpu_top_param::nb_values
-todo
+    todo
 \var void (*starpu_top_param::callback)(struct starpu_top_param*)
 \var void (*starpu_top_param::callback)(struct starpu_top_param*)
-todo
+    todo
 \var int starpu_top_param::int_min_value
 \var int starpu_top_param::int_min_value
-only for integer type
+    only for integer type
 \var int starpu_top_param::int_max_value
 \var int starpu_top_param::int_max_value
-todo
+    todo
 \var double starpu_top_param::double_min_value
 \var double starpu_top_param::double_min_value
-only for double type
+    only for double type
 \var double starpu_top_param::double_max_value
 \var double starpu_top_param::double_max_value
-todo
+    todo
 \var struct starpu_top_param *starpu_top_param::next
 \var struct starpu_top_param *starpu_top_param::next
-todo
+    todo
 
 
 @name Functions to call before the initialisation
 @name Functions to call before the initialisation
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
 
 
 \fn struct starpu_top_data *starpu_top_add_data_boolean(const char *data_name, int active)
 \fn struct starpu_top_data *starpu_top_add_data_boolean(const char *data_name, int active)
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function registers a data named \p data_name of type boolean.
-If \p active is 0, the value will NOT be displayed to user by default.
-Any other value will make the value displayed by default.
+Register a data named \p data_name of type boolean.
+If \p active is 0, the value will NOT be displayed to users.
+Any other value will make the value displayed.
 
 
 \fn struct starpu_top_data *starpu_top_add_data_integer(const char *data_name, int minimum_value, int maximum_value, int active)
 \fn struct starpu_top_data *starpu_top_add_data_integer(const char *data_name, int minimum_value, int maximum_value, int active)
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function registers a data named \p data_name of type integer. The
-minimum and maximum value will be used to define the scale in the UI.
-If \p active is 0, the value will NOT be displayed to user by default.
-Any other value will make the value displayed by default.
+Register a data named \p data_name of type integer. \p minimum_value
+and \p maximum_value will be used to define the scale in the UI.
+If \p active is 0, the value will NOT be displayed to users.
+Any other value will make the value displayed.
 
 
 \fn struct starpu_top_data *starpu_top_add_data_float(const char *data_name, double minimum_value, double maximum_value, int active)
 \fn struct starpu_top_data *starpu_top_add_data_float(const char *data_name, double minimum_value, double maximum_value, int active)
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function registers a data named \p data_name of type float. The
-minimum and maximum value will be used to define the scale in the UI.
-If \p active is 0, the value will NOT be displayed to user by default.
-Any other value will make the value displayed by default.
+Register a data named \p data_name of type float. \p minimum_value and
+\p maximum_value will be used to define the scale in the UI.
+If \p active is 0, the value will NOT be displayed to users.
+Any other value will make the value displayed.
 
 
 \fn struct starpu_top_param *starpu_top_register_parameter_boolean(const char *param_name, int *parameter_field, void (*callback)(struct starpu_top_param*))
 \fn struct starpu_top_param *starpu_top_register_parameter_boolean(const char *param_name, int *parameter_field, void (*callback)(struct starpu_top_param*))
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function registers a parameter named \p parameter_name, of type
-boolean. The \p callback function will be called when the parameter is
-modified by the UI, and can be <c>NULL</c>.
+Register a parameter named \p parameter_name, of type
+boolean. If not \c NULL, the \p callback function will be called when
+the parameter is modified by the UI.
 
 
 \fn struct starpu_top_param *starpu_top_register_parameter_float(const char *param_name, double *parameter_field, double minimum_value, double maximum_value, void (*callback)(struct starpu_top_param*))
 \fn struct starpu_top_param *starpu_top_register_parameter_float(const char *param_name, double *parameter_field, double minimum_value, double maximum_value, void (*callback)(struct starpu_top_param*))
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function registers a parameter named \p param_name, of type
-integer. Minimum and maximum value will be used to prevent users from setting
-incorrect value. The \p callback function will be called when the
-parameter is modified by the UI, and can be <c>NULL</c>.
+Register a parameter named \p param_name, of type
+integer. \p minimum_value and \p maximum_value will be used to prevent
+users from setting incorrect value. If not \c NULL, the \p callback
+function will be called when the parameter is modified by the UI.
 
 
 \fn struct starpu_top_param *starpu_top_register_parameter_integer(const char *param_name, int *parameter_field, int minimum_value, int maximum_value, void (*callback)(struct starpu_top_param*))
 \fn struct starpu_top_param *starpu_top_register_parameter_integer(const char *param_name, int *parameter_field, int minimum_value, int maximum_value, void (*callback)(struct starpu_top_param*))
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function registers a parameter named \p param_name, of type float.
-Minimum and maximum value will be used to prevent users from setting
-incorrect value. The \p callback function will be called when the
-parameter is modified by UI, and can be <c>NULL</c>.
+Register a parameter named \p param_name, of type float.
+\p minimum_value and \p maximum_value will be used to prevent users
+from setting incorrect value. If not \c NULL, the \p callback function
+will be called when the parameter is modified by the UI.
 
 
 \fn struct starpu_top_param *starpu_top_register_parameter_enum(const char *param_name, int *parameter_field, char **values, int nb_values, void (*callback)(struct starpu_top_param*))
 \fn struct starpu_top_param *starpu_top_register_parameter_enum(const char *param_name, int *parameter_field, char **values, int nb_values, void (*callback)(struct starpu_top_param*))
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function registers a parameter named \p param_name, of type enum.
-Minimum and maximum value will be used to prevent users from setting
-incorrect value. The \p callback function will be called when the
-parameter is modified by the UI, and can be <c>NULL</c>.
+Register a parameter named \p param_name, of type enum.
+\p values and \p nb_values will be used to prevent users from setting
+incorrect value. If not \c NULL, the \p callback function will be
+called when the parameter is modified by the UI.
 
 
 @name Initialisation
 @name Initialisation
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
 
 
 \fn void starpu_top_init_and_wait(const char *server_name)
 \fn void starpu_top_init_and_wait(const char *server_name)
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function must be called when all parameters and data have been
-registered AND initialised (for parameters). This function will wait
+Must be called when all parameters and data have been
+registered AND initialised (for parameters). It will wait
 for a TOP to connect, send initialisation sentences, and wait for the
 for a TOP to connect, send initialisation sentences, and wait for the
 GO message.
 GO message.
 
 
@@ -177,36 +163,35 @@ GO message.
 
 
 \fn void starpu_top_update_parameter(const struct starpu_top_param *param)
 \fn void starpu_top_update_parameter(const struct starpu_top_param *param)
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function should be called after every modification of a parameter
-from something other than starpu_top. This function notices the UI that the
-configuration changed.
+Should be called after every modification of a parameter
+from something other than starpu_top. It notices the UI that the
+configuration has changed.
 
 
 \fn void starpu_top_update_data_boolean(const struct starpu_top_data *data, int value)
 \fn void starpu_top_update_data_boolean(const struct starpu_top_data *data, int value)
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function updates the value of the starpu_top_data in the UI.
+Update the boolean value of \p data to \p value the UI.
 
 
 \fn void starpu_top_update_data_integer(const struct starpu_top_data *data, int value)
 \fn void starpu_top_update_data_integer(const struct starpu_top_data *data, int value)
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function updates the value of the starpu_top_data in the UI.
+Update the integer value of \p data to \p value the UI.
 
 
 \fn void starpu_top_update_data_float(const struct starpu_top_data *data, double value)
 \fn void starpu_top_update_data_float(const struct starpu_top_data *data, double value)
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function updates the value of the starpu_top_data in the UI.
+Update the float value of \p data to \p value the UI.
 
 
 \fn void starpu_top_task_prevision(struct starpu_task *task, int devid, unsigned long long start, unsigned long long end)
 \fn void starpu_top_task_prevision(struct starpu_task *task, int devid, unsigned long long start, unsigned long long end)
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-This function notifies the UI that \p task is planned to run from \p start to \p end, on computation-core.
+Notift the UI that \p task is planned to run from \p start to \p end, on computation-core.
 
 
 \fn void starpu_top_debug_log(const char *message)
 \fn void starpu_top_debug_log(const char *message)
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-When running in debug mode, the function sends \p message to be displayed by the UI.
+When running in debug mode, display \p message in the UI.
 
 
 \fn void starpu_top_debug_lock(const char *message)
 \fn void starpu_top_debug_lock(const char *message)
 \ingroup API_StarPUTop_Interface
 \ingroup API_StarPUTop_Interface
-When running in debug mode, the functions sends a message and waits for a continue message
-from the UI to return. The lock (which creates a stop-point) should be
+When running in debug mode, send \p message to the UI and wait for a
+continue message to return. The lock (which creates a stop-point) should be
 called only by the main thread. Calling it from more than one thread
 called only by the main thread. Calling it from more than one thread
 is not supported.
 is not supported.
 
 
 */
 */
-

+ 7 - 7
doc/doxygen/chapters/api/tree.doxy

@@ -1,6 +1,6 @@
 /*
 /*
  * This file is part of the StarPU Handbook.
  * This file is part of the StarPU Handbook.
- * Copyright (C) 2014, 2016  CNRS
+ * Copyright (C) 2014, 2016, 2017  CNRS
  * See the file version.doxy for copying conditions.
  * See the file version.doxy for copying conditions.
  */
  */
 
 
@@ -11,17 +11,17 @@
 \struct starpu_tree
 \struct starpu_tree
 \ingroup API_Tree
 \ingroup API_Tree
 \var struct starpu_tree **starpu_tree::nodes
 \var struct starpu_tree **starpu_tree::nodes
-todo
+    todo
 \var struct starpu_tree *starpu_tree::father
 \var struct starpu_tree *starpu_tree::father
-todo
+    todo
 \var int starpu_tree::arity
 \var int starpu_tree::arity
-todo
+    todo
 \var int starpu_tree::id
 \var int starpu_tree::id
-todo
+    todo
 \var int starpu_tree::level
 \var int starpu_tree::level
-todo
+    todo
 \var int starpu_tree::is_pu
 \var int starpu_tree::is_pu
-todo
+    todo
 
 
 \fn void starpu_tree_reset_visited(struct starpu_tree *tree, char *visited)
 \fn void starpu_tree_reset_visited(struct starpu_tree *tree, char *visited)
 \ingroup API_Tree
 \ingroup API_Tree

+ 72 - 99
doc/doxygen/chapters/api/workers.doxy

@@ -25,62 +25,44 @@ considerably reduce memory used by StarPU data structures.
 
 
 \enum starpu_node_kind
 \enum starpu_node_kind
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-TODO
+    TODO
 \var starpu_node_kind::STARPU_UNUSED
 \var starpu_node_kind::STARPU_UNUSED
-\ingroup API_Workers_Properties
-TODO
-\ingroup API_Workers_Properties
+    TODO
 \var starpu_node_kind::STARPU_CPU_RAM
 \var starpu_node_kind::STARPU_CPU_RAM
-\ingroup API_Workers_Properties
-TODO
+    TODO
 \var starpu_node_kind::STARPU_CUDA_RAM
 \var starpu_node_kind::STARPU_CUDA_RAM
-\ingroup API_Workers_Properties
-TODO
+    TODO
 \var starpu_node_kind::STARPU_OPENCL_RAM
 \var starpu_node_kind::STARPU_OPENCL_RAM
-\ingroup API_Workers_Properties
-TODO
+    TODO
 \var starpu_node_kind::STARPU_DISK_RAM
 \var starpu_node_kind::STARPU_DISK_RAM
-\ingroup API_Workers_Properties
-TODO
+    TODO
 \var starpu_node_kind::STARPU_MIC_RAM
 \var starpu_node_kind::STARPU_MIC_RAM
-\ingroup API_Workers_Properties
-TODO
+    TODO
 \var starpu_node_kind::STARPU_SCC_RAM
 \var starpu_node_kind::STARPU_SCC_RAM
-\ingroup API_Workers_Properties
-This node kind is not used anymore, but implementations in interfaces
-will be useful for MPI.
+    This node kind is not used anymore, but implementations in
+    interfaces will be useful for MPI.
 \var starpu_node_kind::STARPU_SCC_SHM
 \var starpu_node_kind::STARPU_SCC_SHM
-\ingroup API_Workers_Properties
-TODO
+    TODO
 \var starpu_node_kind::STARPU_MPI_MS_RAM
 \var starpu_node_kind::STARPU_MPI_MS_RAM
-\ingroup API_Workers_Properties
-TODO
+    TODO
 
 
 \enum starpu_worker_archtype
 \enum starpu_worker_archtype
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
 Worker Architecture Type
 Worker Architecture Type
 \var starpu_worker_archtype::STARPU_ANY_WORKER
 \var starpu_worker_archtype::STARPU_ANY_WORKER
-\ingroup API_Workers_Properties
-any worker, used in the hypervisor
+    any worker, used in the hypervisor
 \var starpu_worker_archtype::STARPU_CPU_WORKER
 \var starpu_worker_archtype::STARPU_CPU_WORKER
-\ingroup API_Workers_Properties
-CPU core
+    CPU core
 \var starpu_worker_archtype::STARPU_CUDA_WORKER
 \var starpu_worker_archtype::STARPU_CUDA_WORKER
-\ingroup API_Workers_Properties
-NVIDIA CUDA device
+    NVIDIA CUDA device
 \var starpu_worker_archtype::STARPU_OPENCL_WORKER
 \var starpu_worker_archtype::STARPU_OPENCL_WORKER
-\ingroup API_Workers_Properties
-OpenCL device
+    OpenCL device
 \var starpu_worker_archtype::STARPU_MIC_WORKER
 \var starpu_worker_archtype::STARPU_MIC_WORKER
-\ingroup API_Workers_Properties
-Intel MIC device
+    Intel MIC device
 \var starpu_worker_archtype::STARPU_SCC_WORKER
 \var starpu_worker_archtype::STARPU_SCC_WORKER
-\ingroup API_Workers_Properties
-Intel SCC device
+    Intel SCC device
 \var starpu_worker_archtype::STARPU_MPI_MS_WORKER
 \var starpu_worker_archtype::STARPU_MPI_MS_WORKER
-\ingroup API_Workers_Properties
-MPI Slave device
-
+    MPI Slave device
 
 
 \struct starpu_worker_collection
 \struct starpu_worker_collection
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
@@ -112,13 +94,13 @@ structures(like tree) implementations are foreseen.
 \var enum starpu_worker_collection_type starpu_worker_collection::type
 \var enum starpu_worker_collection_type starpu_worker_collection::type
         The type of structure
         The type of structure
 \var unsigned (*starpu_worker_collection::has_next)(struct starpu_worker_collection *workers, struct starpu_sched_ctx_iterator *it)
 \var unsigned (*starpu_worker_collection::has_next)(struct starpu_worker_collection *workers, struct starpu_sched_ctx_iterator *it)
-        Checks if there is another element in collection
+        Check if there is another element in collection
 \var int (*starpu_worker_collection::get_next)(struct starpu_worker_collection *workers, struct starpu_sched_ctx_iterator *it)
 \var int (*starpu_worker_collection::get_next)(struct starpu_worker_collection *workers, struct starpu_sched_ctx_iterator *it)
-        return the next element in the collection
+        Return the next element in the collection
 \var int (*starpu_worker_collection::add)(struct starpu_worker_collection *workers, int worker)
 \var int (*starpu_worker_collection::add)(struct starpu_worker_collection *workers, int worker)
-        add a new element in the collection
+        Add a new element in the collection
 \var int (*starpu_worker_collection::remove)(struct starpu_worker_collection *workers, int worker)
 \var int (*starpu_worker_collection::remove)(struct starpu_worker_collection *workers, int worker)
-        remove an element from the collection
+        Remove an element from the collection
 \var void (*starpu_worker_collection::init)(struct starpu_worker_collection *workers)
 \var void (*starpu_worker_collection::init)(struct starpu_worker_collection *workers)
         Initialize the collection
         Initialize the collection
 \var void (*starpu_worker_collection::deinit)(struct starpu_worker_collection *workers)
 \var void (*starpu_worker_collection::deinit)(struct starpu_worker_collection *workers)
@@ -132,84 +114,74 @@ structures(like tree) implementations are foreseen.
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
 Types of structures the worker collection can implement
 Types of structures the worker collection can implement
 \var starpu_worker_collection_type::STARPU_WORKER_LIST
 \var starpu_worker_collection_type::STARPU_WORKER_LIST
-\ingroup API_Workers_Properties
-The collection is an array
+    The collection is an array
 \var starpu_worker_collection_type::STARPU_WORKER_TREE
 \var starpu_worker_collection_type::STARPU_WORKER_TREE
-\ingroup API_Workers_Properties
-The collection is a tree
+    The collection is a tree
 
 
 \struct starpu_sched_ctx_iterator
 \struct starpu_sched_ctx_iterator
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
 Structure needed to iterate on the collection
 Structure needed to iterate on the collection
 \var int starpu_sched_ctx_iterator::cursor
 \var int starpu_sched_ctx_iterator::cursor
-The index of the current worker in the collection, needed when iterating on
-the collection.
-
+    The index of the current worker in the collection, needed when
+    iterating on the collection.
 
 
 \fn unsigned starpu_worker_get_count(void)
 \fn unsigned starpu_worker_get_count(void)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the number of workers (i.e. processing
-units executing StarPU tasks). The returned value should be at most
-\ref STARPU_NMAXWORKERS.
+Return the number of workers (i.e. processing units executing StarPU
+tasks). The returned value should be at most \ref STARPU_NMAXWORKERS.
 
 
 \fn int starpu_worker_get_count_by_type(enum starpu_worker_archtype type)
 \fn int starpu_worker_get_count_by_type(enum starpu_worker_archtype type)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-Returns the number of workers of the given type. A positive (or
-<c>NULL</c>) value is returned in case of success, <c>-EINVAL</c> indicates that the
-type is not valid otherwise.
+Return the number of workers of \p type. A positive (or
+<c>NULL</c>) value is returned in case of success, <c>-EINVAL</c>
+indicates that \p type is not valid otherwise.
 
 
 \fn unsigned starpu_cpu_worker_get_count(void)
 \fn unsigned starpu_cpu_worker_get_count(void)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the number of CPUs controlled by StarPU. The
-returned value should be at most \ref STARPU_MAXCPUS.
+Return the number of CPUs controlled by StarPU. The returned value should be at most \ref STARPU_MAXCPUS.
 
 
 \fn unsigned starpu_cuda_worker_get_count(void)
 \fn unsigned starpu_cuda_worker_get_count(void)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the number of CUDA devices controlled by
-StarPU. The returned value should be at most \ref STARPU_MAXCUDADEVS.
+Return the number of CUDA devices controlled by StarPU. The returned value should be at most \ref STARPU_MAXCUDADEVS.
 
 
 \fn unsigned starpu_mic_worker_get_count(void)
 \fn unsigned starpu_mic_worker_get_count(void)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the number of MIC workers controlled by StarPU.
+Return the number of MIC workers controlled by StarPU.
 
 
 \fn unsigned starpu_mic_device_get_count(void)
 \fn unsigned starpu_mic_device_get_count(void)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the number of MIC devices controlled by StarPU.
-The returned value should be at most \ref STARPU_MAXMICDEVS.
+Return the number of MIC devices controlled by StarPU. The returned value should be at most \ref STARPU_MAXMICDEVS.
 
 
 \fn unsigned starpu_mpi_ms_worker_get_count(void)
 \fn unsigned starpu_mpi_ms_worker_get_count(void)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the number of MPI Master Slave workers controlled by StarPU.
+Return the number of MPI Master Slave workers controlled by StarPU.
 
 
 \fn unsigned starpu_scc_worker_get_count(void)
 \fn unsigned starpu_scc_worker_get_count(void)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the number of SCC devices controlled by StarPU.
-The returned value should be at most \ref STARPU_MAXSCCDEVS.
+Return the number of SCC devices controlled by StarPU. The returned value should be at most \ref STARPU_MAXSCCDEVS.
 
 
 \fn unsigned starpu_opencl_worker_get_count(void)
 \fn unsigned starpu_opencl_worker_get_count(void)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the number of OpenCL devices controlled by
-StarPU. The returned value should be at most \ref STARPU_MAXOPENCLDEVS.
+Return the number of OpenCL devices controlled by StarPU. The returned value should be at most \ref STARPU_MAXOPENCLDEVS.
 
 
 \fn int starpu_worker_get_id(void)
 \fn int starpu_worker_get_id(void)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the identifier of the current worker, i.e
-the one associated to the calling thread. The returned value is either
--1 if the current context is not a StarPU worker (i.e. when called
-from the application outside a task or a callback), or an integer
-between 0 and starpu_worker_get_count() - 1.
+Return the identifier of the current worker, i.e the one associated to
+the calling thread. The returned value is either -1 if the current
+context is not a StarPU worker (i.e. when called from the application
+outside a task or a callback), or an integer between 0 and
+starpu_worker_get_count() - 1.
 
 
 \fn unsigned starpu_worker_get_id_check(void)
 \fn unsigned starpu_worker_get_id_check(void)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This is the same as starpu_worker_get_id(), but aborts when called from outside a
-worker (i.e. when starpu_worker_get_id() would return -1).
+Similar to starpu_worker_get_id(), but abort when called from outside
+a worker (i.e. when starpu_worker_get_id() would return -1).
 
 
 \fn unsigned starpu_worker_get_ids_by_type(enum starpu_worker_archtype type, int *workerids, unsigned maxsize)
 \fn unsigned starpu_worker_get_ids_by_type(enum starpu_worker_archtype type, int *workerids, unsigned maxsize)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function gets the list of identifiers of workers with the
-given type. It fills the array \p workerids with the identifiers of the
-workers that have the type indicated in the first argument. The
-argument \p maxsize indicates the size of the array \p workerids. The returned
+Get the list of identifiers of workers of \p type. Fill the array \p
+workerids with the identifiers of the \p workers. The argument \p
+maxsize indicates the size of the array \p workerids. The returned
 value gives the number of identifiers that were put in the array.
 value gives the number of identifiers that were put in the array.
 <c>-ERANGE</c> is returned is \p maxsize is lower than the number of workers
 <c>-ERANGE</c> is returned is \p maxsize is lower than the number of workers
 with the appropriate type: in that case, the array is filled with the
 with the appropriate type: in that case, the array is filled with the
@@ -220,18 +192,19 @@ equal to \ref STARPU_NMAXWORKERS.
 
 
 \fn int starpu_worker_get_by_type(enum starpu_worker_archtype type, int num)
 \fn int starpu_worker_get_by_type(enum starpu_worker_archtype type, int num)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This returns the identifier of the \p num -th worker that has the
-specified type type. If there are no such worker, -1 is returned.
+Return the identifier of the \p num -th worker that has the
+specified \p type. If there is no such worker, -1 is returned.
 
 
 \fn int starpu_worker_get_by_devid(enum starpu_worker_archtype type, int devid)
 \fn int starpu_worker_get_by_devid(enum starpu_worker_archtype type, int devid)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This returns the identifier of the worker that has the specified type
-\p type and device id \p devid (which may not be the n-th, if some
-devices are skipped for instance). If there are no such worker, -1 is returned.
+Return the identifier of the worker that has the specified \p type
+and device id \p devid (which may not be the n-th, if some
+devices are skipped for instance). If there is no such worker, -1 is
+returned.
 
 
 \fn int starpu_worker_get_devid(int id)
 \fn int starpu_worker_get_devid(int id)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the device id of the given worker. The
+Return the device id of the worker \p id. The
 worker should be identified with the value returned by the
 worker should be identified with the value returned by the
 starpu_worker_get_id() function. In the case of a CUDA worker, this
 starpu_worker_get_id() function. In the case of a CUDA worker, this
 device identifier is the logical device identifier exposed by CUDA
 device identifier is the logical device identifier exposed by CUDA
@@ -242,38 +215,38 @@ OS or by the library <c>hwloc</c> in case it is available.
 
 
 \fn enum starpu_worker_archtype starpu_worker_get_type(int id)
 \fn enum starpu_worker_archtype starpu_worker_get_type(int id)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the type of processing unit associated to
-a worker. The worker identifier is a value returned by the function
-starpu_worker_get_id()). The returned value indicates the
-architecture of the worker: ::STARPU_CPU_WORKER for a CPU core,
-::STARPU_CUDA_WORKER for a CUDA device, and ::STARPU_OPENCL_WORKER for a
-OpenCL device. The value returned for an invalid identifier is
+Return the type of processing unit associated to the worker \p id. The
+worker identifier is a value returned by the function
+starpu_worker_get_id()). The returned value indicates the architecture
+of the worker: ::STARPU_CPU_WORKER for a CPU core,
+::STARPU_CUDA_WORKER for a CUDA device, and ::STARPU_OPENCL_WORKER for
+a OpenCL device. The value returned for an invalid identifier is
 unspecified.
 unspecified.
 
 
 \fn void starpu_worker_get_name(int id, char *dst, size_t maxlen)
 \fn void starpu_worker_get_name(int id, char *dst, size_t maxlen)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function allows to get the name of a given worker. StarPU
-associates a unique human readable string to each processing unit.
-This function copies at most the \p maxlen first bytes of the unique
-string associated to a worker identified by its identifier \p id into the
-\p dst buffer. The caller is responsible for ensuring that \p dst is a
-valid pointer to a buffer of \p maxlen bytes at least. Calling this
-function on an invalid identifier results in an unspecified behaviour.
+Allow to get the name of the worker \p id. StarPU associates a unique
+human readable string to each processing unit. This function copies at
+most the \p maxlen first bytes of the unique string associated to the
+worker \p id into the \p dst buffer. The caller is responsible for
+ensuring that \p dst is a valid pointer to a buffer of \p maxlen bytes
+at least. Calling this function on an invalid identifier results in an
+unspecified behaviour.
 
 
 \fn unsigned starpu_worker_get_memory_node(unsigned workerid)
 \fn unsigned starpu_worker_get_memory_node(unsigned workerid)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-This function returns the identifier of the memory node
-associated to the worker identified by \p workerid.
+Return the identifier of the memory node associated to the worker
+identified by \p workerid.
 
 
 \fn enum starpu_node_kind starpu_node_get_kind(unsigned node)
 \fn enum starpu_node_kind starpu_node_get_kind(unsigned node)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-Returns the type of the given node as defined by
+Return the type of \p node as defined by
 ::starpu_node_kind. For example, when defining a new data interface,
 ::starpu_node_kind. For example, when defining a new data interface,
 this function should be used in the allocation function to determine
 this function should be used in the allocation function to determine
 on which device the memory needs to be allocated.
 on which device the memory needs to be allocated.
 
 
 \fn char *starpu_worker_get_type_as_string(enum starpu_worker_archtype type)
 \fn char *starpu_worker_get_type_as_string(enum starpu_worker_archtype type)
 \ingroup API_Workers_Properties
 \ingroup API_Workers_Properties
-Returns the given worker type as a string.
+Return worker \p type as a string.
 
 
 */
 */