Skip to content

Commit

Permalink
Clarify return value w/ invalid team_split_strided
Browse files Browse the repository at this point in the history
Signed-off-by: David M. Ozog <[email protected]>
  • Loading branch information
davidozog committed Oct 28, 2019
1 parent 69a0842 commit 5b349a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/shmem_team_split_strided.tex
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@
See Section~\ref{subsec:shmem_team_config_t} for field mask names and
default configuration parameters.

When \VAR{parent\_team} specifies an invalid team, if \VAR{parent\_team}
If \VAR{parent\_team}
compares equal to \LibConstRef{SHMEM\_TEAM\_INVALID}, then no new team
will be created and \VAR{new\_team} will be assigned the value
\LibConstRef{SHMEM\_TEAM\_INVALID}; otherwise, the behavior is undefined.
\LibConstRef{SHMEM\_TEAM\_INVALID}. If \VAR{parent\_team} is otherwise invalid, the behavior is undefined.

If an invalid \ac{PE} triplet is provided, then the \VAR{new\_team}
will not be created.

If \VAR{new\_team} cannot be created, then it will be assigned the value
\LibConstRef{SHMEM\_TEAM\_INVALID}.
\LibConstRef{SHMEM\_TEAM\_INVALID} and \FUNC{shmem\_team\_split\_strided} will return a nonzero value.
}

\apireturnvalues{
Expand Down

0 comments on commit 5b349a4

Please sign in to comment.