소스 검색

Add missing documentation for STARPU_CODELET_GET_NODE and STARPU_CODELET_SET_NODE

Samuel Thibault 6 년 전
부모
커밋
163995eff2
1개의 변경된 파일18개의 추가작업 그리고 0개의 파일을 삭제
  1. 18 0
      doc/doxygen/chapters/api/codelet_and_tasks.doxy

+ 18 - 0
doc/doxygen/chapters/api/codelet_and_tasks.doxy

@@ -864,6 +864,24 @@ starpu_task::modes or the \p i -th element of the field
 starpu_task::dyn_modes
 starpu_task::dyn_modes
 (see \ref SettingManyDataHandlesForATask)
 (see \ref SettingManyDataHandlesForATask)
 
 
+\def STARPU_CODELET_GET_NODE(codelet, i)
+\ingroup API_Codelet_And_Tasks
+Return the target node of the \p i -th data handle of \p codelet.
+If \p node is defined with a static or dynamic number of
+handles, will either return the \p i -th element of the field
+starpu_codelet::nodes or the \p i -th element of the field
+starpu_codelet::dyn_nodes
+(see \ref SettingManyDataHandlesForATask)
+
+\def STARPU_CODELET_SET_NODE(codelet, node, i)
+\ingroup API_Codelet_And_Tasks
+Set the target node of the \p i -th data handle of \p codelet.
+If \p codelet is defined with a static or dynamic number of
+handles, will either set the \p i -th element of the field
+starpu_codelet::nodes or the \p i -th element of the field
+starpu_codelet::dyn_nodes
+(see \ref SettingManyDataHandlesForATask)
+
 \fn struct starpu_task *starpu_task_create(void)
 \fn struct starpu_task *starpu_task_create(void)
 \ingroup API_Codelet_And_Tasks
 \ingroup API_Codelet_And_Tasks
 Allocate a task structure and initialize it with default
 Allocate a task structure and initialize it with default