|
@@ -312,8 +312,8 @@ Is an array of ::starpu_data_access_mode. It describes the required
|
|
access modes to the data needed by the codelet (e.g. ::STARPU_RW).
|
|
access modes to the data needed by the codelet (e.g. ::STARPU_RW).
|
|
The number of entries in this array must be specified in the field
|
|
The number of entries in this array must be specified in the field
|
|
starpu_codelet::nbuffers. This field should be used for codelets having a
|
|
starpu_codelet::nbuffers. This field should be used for codelets having a
|
|
-number of datas greater than \ref STARPU_NMAXBUFS (see \ref
|
|
|
|
-SettingManyDataHandlesForATask). When defining a codelet, one
|
|
|
|
|
|
+number of datas greater than \ref STARPU_NMAXBUFS
|
|
|
|
+(see \ref SettingManyDataHandlesForATask). When defining a codelet, one
|
|
should either define this field or the field starpu_codelet::modes defined above.
|
|
should either define this field or the field starpu_codelet::modes defined above.
|
|
|
|
|
|
\var unsigned starpu_codelet::specific_nodes
|
|
\var unsigned starpu_codelet::specific_nodes
|
|
@@ -334,8 +334,8 @@ Optional field. When starpu_codelet::specific_nodes is 1, this specifies
|
|
the memory nodes where each data should be sent to for task execution.
|
|
the memory nodes where each data should be sent to for task execution.
|
|
The number of entries in this array is starpu_codelet::nbuffers.
|
|
The number of entries in this array is starpu_codelet::nbuffers.
|
|
This field should be used for codelets having a
|
|
This field should be used for codelets having a
|
|
-number of datas greater than \ref STARPU_NMAXBUFS (see \ref
|
|
|
|
-SettingManyDataHandlesForATask). When defining a codelet, one
|
|
|
|
|
|
+number of datas greater than \ref STARPU_NMAXBUFS
|
|
|
|
+(see \ref SettingManyDataHandlesForATask). When defining a codelet, one
|
|
should either define this field or the field starpu_codelet::nodes defined
|
|
should either define this field or the field starpu_codelet::nodes defined
|
|
above.
|
|
above.
|
|
|
|
|
|
@@ -367,8 +367,8 @@ Various flags for the codelet.
|
|
\fn void starpu_codelet_init(struct starpu_codelet *cl)
|
|
\fn void starpu_codelet_init(struct starpu_codelet *cl)
|
|
\ingroup API_Codelet_And_Tasks
|
|
\ingroup API_Codelet_And_Tasks
|
|
Initialize \p cl with default values. Codelets should
|
|
Initialize \p cl with default values. Codelets should
|
|
-preferably be initialized statically as shown in \ref
|
|
|
|
-DefiningACodelet. However such a initialisation is not always
|
|
|
|
|
|
+preferably be initialized statically as shown in
|
|
|
|
+\ref DefiningACodelet. However such a initialisation is not always
|
|
possible, e.g. when using C++.
|
|
possible, e.g. when using C++.
|
|
|
|
|
|
\struct starpu_data_descr
|
|
\struct starpu_data_descr
|
|
@@ -448,8 +448,8 @@ It is an array of ::starpu_data_access_mode. It describes the required
|
|
access modes to the data needed by the codelet (e.g. ::STARPU_RW).
|
|
access modes to the data needed by the codelet (e.g. ::STARPU_RW).
|
|
The number of entries in this array must be specified in the field
|
|
The number of entries in this array must be specified in the field
|
|
starpu_codelet::nbuffers. This field should be used for codelets having a
|
|
starpu_codelet::nbuffers. This field should be used for codelets having a
|
|
-number of datas greater than \ref STARPU_NMAXBUFS (see \ref
|
|
|
|
-SettingManyDataHandlesForATask). When defining a codelet, one
|
|
|
|
|
|
+number of datas greater than \ref STARPU_NMAXBUFS
|
|
|
|
+(see \ref SettingManyDataHandlesForATask). When defining a codelet, one
|
|
should either define this field or the field starpu_task::modes defined above.
|
|
should either define this field or the field starpu_task::modes defined above.
|
|
|
|
|
|
\var void *starpu_task::cl_arg
|
|
\var void *starpu_task::cl_arg
|
|
@@ -686,8 +686,8 @@ starpu_task::nbuffers if the former is STARPU_VARIABLE_NBUFFERS.
|
|
Return the \p i th data handle of the given task. If the task
|
|
Return the \p i th data handle of the given task. If the task
|
|
is defined with a static or dynamic number of handles, will either
|
|
is defined with a static or dynamic number of handles, will either
|
|
return the \p i th element of the field starpu_task::handles or the \p
|
|
return the \p i th element of the field starpu_task::handles or the \p
|
|
-i th element of the field starpu_task::dyn_handles (see \ref
|
|
|
|
-SettingManyDataHandlesForATask)
|
|
|
|
|
|
+i th element of the field starpu_task::dyn_handles
|
|
|
|
+(see \ref SettingManyDataHandlesForATask)
|
|
|
|
|
|
\def STARPU_TASK_SET_HANDLE(task, handle, i)
|
|
\def STARPU_TASK_SET_HANDLE(task, handle, i)
|
|
\ingroup API_Codelet_And_Tasks
|
|
\ingroup API_Codelet_And_Tasks
|
|
@@ -695,8 +695,8 @@ Set the \p i th data handle of the given task with the given
|
|
dat handle. If the task is defined with a static or dynamic number of
|
|
dat handle. If the task is defined with a static or dynamic number of
|
|
handles, will either set the \p i th element of the field
|
|
handles, will either set the \p i th element of the field
|
|
starpu_task::handles or the \p i th element of the field
|
|
starpu_task::handles or the \p i th element of the field
|
|
-starpu_task::dyn_handles (see \ref
|
|
|
|
-SettingManyDataHandlesForATask)
|
|
|
|
|
|
+starpu_task::dyn_handles
|
|
|
|
+(see \ref SettingManyDataHandlesForATask)
|
|
|
|
|
|
\def STARPU_CODELET_GET_MODE(codelet, i)
|
|
\def STARPU_CODELET_GET_MODE(codelet, i)
|
|
\ingroup API_Codelet_And_Tasks
|
|
\ingroup API_Codelet_And_Tasks
|
|
@@ -704,8 +704,8 @@ Return the access mode of the \p i th data handle of the given
|
|
codelet. If the codelet is defined with a static or dynamic number of
|
|
codelet. If the codelet is defined with a static or dynamic number of
|
|
handles, will either return the \p i th element of the field
|
|
handles, will either return the \p i th element of the field
|
|
starpu_codelet::modes or the \p i th element of the field
|
|
starpu_codelet::modes or the \p i th element of the field
|
|
-starpu_codelet::dyn_modes (see \ref
|
|
|
|
-SettingManyDataHandlesForATask)
|
|
|
|
|
|
+starpu_codelet::dyn_modes
|
|
|
|
+(see \ref SettingManyDataHandlesForATask)
|
|
|
|
|
|
\def STARPU_CODELET_SET_MODE(codelet, mode, i)
|
|
\def STARPU_CODELET_SET_MODE(codelet, mode, i)
|
|
\ingroup API_Codelet_And_Tasks
|
|
\ingroup API_Codelet_And_Tasks
|
|
@@ -713,8 +713,8 @@ Set the access mode of the \p i th data handle of the given
|
|
codelet. If the codelet is defined with a static or dynamic number of
|
|
codelet. If the codelet is defined with a static or dynamic number of
|
|
handles, will either set the \p i th element of the field
|
|
handles, will either set the \p i th element of the field
|
|
starpu_codelet::modes or the \p i th element of the field
|
|
starpu_codelet::modes or the \p i th element of the field
|
|
-starpu_codelet::dyn_modes (see \ref
|
|
|
|
-SettingManyDataHandlesForATask)
|
|
|
|
|
|
+starpu_codelet::dyn_modes
|
|
|
|
+(see \ref SettingManyDataHandlesForATask)
|
|
|
|
|
|
\def STARPU_TASK_GET_MODE(task, i)
|
|
\def STARPU_TASK_GET_MODE(task, i)
|
|
\ingroup API_Codelet_And_Tasks
|
|
\ingroup API_Codelet_And_Tasks
|
|
@@ -722,8 +722,8 @@ Return the access mode of the \p i th data handle of the given
|
|
task. If the task is defined with a static or dynamic number of
|
|
task. If the task is defined with a static or dynamic number of
|
|
handles, will either return the \p i th element of the field
|
|
handles, will either return the \p i th element of the field
|
|
starpu_task::modes or the \p i th element of the field
|
|
starpu_task::modes or the \p i th element of the field
|
|
-starpu_task::dyn_modes (see \ref
|
|
|
|
-SettingManyDataHandlesForATask)
|
|
|
|
|
|
+starpu_task::dyn_modes
|
|
|
|
+(see \ref SettingManyDataHandlesForATask)
|
|
|
|
|
|
\def STARPU_TASK_SET_MODE(task, mode, i)
|
|
\def STARPU_TASK_SET_MODE(task, mode, i)
|
|
\ingroup API_Codelet_And_Tasks
|
|
\ingroup API_Codelet_And_Tasks
|
|
@@ -731,8 +731,8 @@ Set the access mode of the \p i th data handle of the given
|
|
task. If the task is defined with a static or dynamic number of
|
|
task. If the task is defined with a static or dynamic number of
|
|
handles, will either set the \p i th element of the field
|
|
handles, will either set the \p i th element of the field
|
|
starpu_task::modes or the \p i th element of the field
|
|
starpu_task::modes or the \p i th element of the field
|
|
-starpu_task::dyn_modes (see \ref
|
|
|
|
-SettingManyDataHandlesForATask)
|
|
|
|
|
|
+starpu_task::dyn_modes
|
|
|
|
+(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
|