|
49 | 49 | i \in \mathbb{Z}_{size-1}
|
50 | 50 | \end{equation*}
|
51 | 51 | where $\mathbb{Z}$ is the set of natural numbers ($0, 1, \dots$), $N$ is the
|
52 |
| -number of \acp{PE} in the parent team, $size$ is a positive number indicating |
53 |
| -the number of \acp{PE} in the new team, and $stride$ is an integer. |
| 52 | +number of \acp{PE} in the parent team, \VAR{size} is a positive number indicating |
| 53 | +the number of \acp{PE} in the new team, and \VAR{stride} is an integer. |
54 | 54 | The index $i$ specifies the number of the given \ac{PE} in the new team.
|
55 |
| -When $stride$ is greater than zero, \acp{PE} in the new team remain in the same |
| 55 | +When \VAR{stride} is greater than zero, \acp{PE} in the new team remain in the same |
56 | 56 | relative order as in the parent team.
|
57 |
| -When $stride$ is less than zero, \acp{PE} in the new team are in \textit{reverse} |
| 57 | +When \VAR{stride} is less than zero, \acp{PE} in the new team are in \textit{reverse} |
58 | 58 | relative order with respect to the parent team.
|
59 |
| -If a $stride$ value equal to 0 is passed to \FUNC{shmem\_team\_split\_strided}, |
60 |
| -then the $size$ argument passed must be 1, or the behavior is undefined. |
| 59 | +If a \VAR{stride} value equal to 0 is passed to \FUNC{shmem\_team\_split\_strided}, |
| 60 | +then the \VAR{size} argument passed must be 1, or the behavior is undefined. |
61 | 61 | If the triplet provided to \FUNC{shmem\_team\_split\_strided} implies a
|
62 | 62 | wrap-around sequence, the input is considered invalid and the behavior is
|
63 | 63 | undefined.
|
64 |
| -In other words, when $stride$ is nonzero, a newly created team must only |
| 64 | +In other words, when \VAR{stride} is nonzero, a newly created team must only |
65 | 65 | include \acp{PE} whose subsequent parent \ac{PE} values are either all
|
66 |
| -increasing (for positive $stride$) or all decreasing (for negative |
67 |
| -$stride$). |
| 66 | +increasing (for positive \VAR{stride}) or all decreasing (for negative |
| 67 | +\VAR{stride}). |
68 | 68 | That is, \textit{wrap-around} with respect to the parent team's \ac{PE} values
|
69 | 69 | is not permitted.
|
70 |
| -For example, given a parent team with a size of 8 \acp{PE}, a call to |
| 70 | +For example, given a parent team with a size of 8 \acp{PE}, a call to |
71 | 71 | \FUNC{shmem\_team\_split\_strided} with the following arguments would
|
72 |
| -be invalid: $start$ equal to 3, $stride$ equal to 3, and $size$ equal to 3. |
| 72 | +be invalid: \VAR{start} equal to 3, \VAR{stride} equal to 3, and \VAR{size} equal to 3. |
73 | 73 |
|
74 | 74 | This routine must be called by all \acp{PE} in the parent team.
|
75 | 75 | All \acp{PE} must provide the same values for the \ac{PE} triplet.
|
|
0 commit comments