Skip to content

Commit 82d2e94

Browse files
committed
Fix argument formatting
Signed-off-by: James Dinan <[email protected]>
1 parent 23f8a2f commit 82d2e94

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

content/shmem_team_split_strided.tex

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,27 @@
4949
i \in \mathbb{Z}_{size-1}
5050
\end{equation*}
5151
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.
5454
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
5656
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}
5858
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.
6161
If the triplet provided to \FUNC{shmem\_team\_split\_strided} implies a
6262
wrap-around sequence, the input is considered invalid and the behavior is
6363
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
6565
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}).
6868
That is, \textit{wrap-around} with respect to the parent team's \ac{PE} values
6969
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
7171
\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.
7373

7474
This routine must be called by all \acp{PE} in the parent team.
7575
All \acp{PE} must provide the same values for the \ac{PE} triplet.

0 commit comments

Comments
 (0)