Skip to content

Commit

Permalink
Merge pull request #520 from davidozog/pr/team_get_config_clarify
Browse files Browse the repository at this point in the history
team_get_config: clarify config_mask == 0 and config == NULL cases
  • Loading branch information
jdinan authored Aug 23, 2024
2 parents 2592c49 + bca0592 commit 3311531
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/backmatter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,10 @@ \section{Version 1.6}
additional arguments.
\ChangelogRef{subsec:shmem_pcontrol}
%
\item Clarified the behavior of \FUNC{shmem\_team\_get\_config} when the
\VAR{config\_mask} is 0 and/or the \VAR{config} argument is a null pointer.
\ChangelogRef{subsec:shmem_team_get_config}
%
\item Clarified the behavior of \FUNC{shmem\_team\_split\_strided} when the
stride argument is 0 or negative.
\ChangelogRef{subsec:shmem_team_split_strided}
Expand Down
4 changes: 4 additions & 0 deletions content/shmem_team_get_config.tex
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
If \VAR{team} compares equal to \LibConstRef{SHMEM\_TEAM\_INVALID},
then no operation is performed.
If \VAR{team} is otherwise invalid, the behavior is undefined.
If \VAR{config\_mask} is 0, then \VAR{shmem\_team\_get\_config} performs no action
and \VAR{config} may or may not be a null pointer.
If \VAR{config} is a null pointer, then \VAR{config\_mask} must be 0, otherwise
the behavior is undefined.
}

\apireturnvalues{
Expand Down

0 comments on commit 3311531

Please sign in to comment.