Skip to content

Commit

Permalink
Merge pull request #13 from minsii/pr/sc/collectives/world_team
Browse files Browse the repository at this point in the history
section/collectives: replace default team with world team
  • Loading branch information
nspark authored Feb 26, 2020
2 parents fdd9476 + 8697898 commit 80be924
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions content/collective_intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
\end{DeprecateBlock}

\item Collective routines that accept neither team nor active set
parameters, which implicitly operate on the default team and, as
parameters, which implicitly operate on the world team and, as
required, the default context.
\end{enumerate}

Expand Down Expand Up @@ -119,14 +119,14 @@ \subsubsection*{Active-set-based collectives}
\subsubsection*{Team-implicit collectives}

The \FUNC{shmem\_sync\_all} routine synchronizes all \acp{PE} in the
computation through the default team. This routine is equivalent to a
call to \FUNC{shmem\_team\_sync} on the default team.
computation through the world team. This routine is equivalent to a
call to \FUNC{shmem\_team\_sync} on the world team.

The \FUNC{shmem\_barrier\_all} routine synchronizes all \acp{PE} in
the default team and ensures completion of all local and remote memory
the world team and ensures completion of all local and remote memory
updates issued via the default context. This routine is equivalent to
a call to \FUNC{shmem\_ctx\_quiet} on the default context followed by a
call to \FUNC{shmem\_team\_sync} on the default team.
call to \FUNC{shmem\_team\_sync} on the world team.

\subsubsection*{Error codes returned from collectives}

Expand Down
4 changes: 2 additions & 2 deletions content/shmem_barrier_all.tex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

\apidescription{
The \FUNC{shmem\_barrier\_all} routine
is a mechanism for synchronizing all \acp{PE} in the default team at
is a mechanism for synchronizing all \acp{PE} in the world team at
once. This routine blocks the calling \ac{PE} until all \acp{PE} have called
\FUNC{shmem\_barrier\_all}. In a multithreaded \openshmem
program, only the calling thread is blocked, however,
Expand All @@ -39,7 +39,7 @@
\apinotes{
The \FUNC{shmem\_barrier\_all} routine is equivalent to calling
\FUNC{shmem\_ctx\_quiet} on the default context followed by
calling \FUNC{shmem\_team\_sync} on the default team.
calling \FUNC{shmem\_team\_sync} on the world team.

The \FUNC{shmem\_barrier\_all} routine can be used to
portably ensure that memory access operations observe remote updates in the order
Expand Down
6 changes: 3 additions & 3 deletions content/shmem_sync_all.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
\apisummary{
Registers the arrival of a \ac{PE} at a synchronization point and suspends
execution until all other \acp{PE} in the default team arrive at a synchronization point. For multithreaded programs, execution is suspended
execution until all other \acp{PE} in the world team arrive at a synchronization point. For multithreaded programs, execution is suspended
as specified by the threading model (Section \ref{subsec:thread_support}).
}

Expand All @@ -19,7 +19,7 @@
\apidescription{

This routine blocks the calling \ac{PE} until all \acp{PE} in the
default team have called \FUNC{shmem\_sync\_all}.
world team have called \FUNC{shmem\_sync\_all}.

In a multithreaded \openshmem program, only the calling thread is
blocked.
Expand All @@ -36,7 +36,7 @@

\apinotes{
The \FUNC{shmem\_sync\_all} routine is equivalent to calling
\FUNC{shmem\_team\_sync} on the default team.
\FUNC{shmem\_team\_sync} on the world team.
}

\end{apidefinition}

0 comments on commit 80be924

Please sign in to comment.