Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

team_get_config: clarify config_mask == 0 and config == NULL cases #520

Merged
merged 2 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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