From aa1d5f0557ed835f078ac2fae5d2b84d8a7e4791 Mon Sep 17 00:00:00 2001 From: David Ozog Date: Thu, 11 Jul 2024 15:23:38 -0400 Subject: [PATCH] team_get_config: return *current* config values --- content/backmatter.tex | 4 ++++ content/shmem_team_get_config.tex | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/content/backmatter.tex b/content/backmatter.tex index 7e6f4a7dd..05f414994 100644 --- a/content/backmatter.tex +++ b/content/backmatter.tex @@ -703,6 +703,10 @@ \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} \end{itemize} \section{Version 1.5} diff --git a/content/shmem_team_get_config.tex b/content/shmem_team_get_config.tex index 6ee9d9ec6..2bd471807 100644 --- a/content/shmem_team_get_config.tex +++ b/content/shmem_team_get_config.tex @@ -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.