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: return the *current* config values #521

Merged
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
5 changes: 5 additions & 0 deletions content/backmatter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,11 @@ \section{Version 1.6}
additional arguments.
\ChangelogRef{subsec:shmem_pcontrol}
%
\item Clarified that \FUNC{shmem\_team\_get\_config} returns the current
configuration values, which may differ from the values assigned at the
time of the team's creation.
\ChangelogRef{subsec:shmem_team_get_config}
%
\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}
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 @@ -21,6 +21,10 @@
\FUNC{shmem\_team\_get\_config} returns through the \VAR{config} argument
the configuration parameters as described by the mask, which were assigned according
to input configuration parameters when the team was created.
The output \VAR{config} argument indicates the \openshmem library's
parameter values at the time \FUNC{shmem\_team\_get\_config} is called.
These values may differ from the parameter values that were assigned at the
time of the team's creation.

If \VAR{team} compares equal to \LibConstRef{SHMEM\_TEAM\_INVALID},
then no operation is performed.
Expand Down