Skip to content

Commit

Permalink
Merge pull request #10 from minsii/pr/sc/collectives/changelogs
Browse files Browse the repository at this point in the history
SC/collectives: add change logs
  • Loading branch information
nspark authored Feb 26, 2020
2 parents 3dc016c + fc8049a commit ac012a2
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
17 changes: 17 additions & 0 deletions content/backmatter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,23 @@ \section{Version 1.5}
\CONST{SHMEM\_MALLOC\_ATOMICS\_REMOTE} and \CONST{SHMEM\_MALLOC\_SIGNAL\_REMOTE}.
\\ See Section \ref{subsec:shmmallochint} and \ref{subsec:library_constants}.
%
\item Specified that team-based broadcast operations update the \VAR{dest} object on
all \acp{PE}, including the root \ac{PE}.
\\ See Section \ref{subsec:shmem_broadcast}.
%
\item Deprecated active-set-based collective functions.
\\ See Section \ref{subsec:coll}.
%
\item Added team-based collective functions: \FUNC{shmem\_sync},
\FUNC{shmem\_broadcast\{mem\}}, \FUNC{shmem\_collect\{mem\}},\\
\FUNC{shmem\_TYPENAME\_OP\_reduce},
\FUNC{shmem\_alltoall\{mem\}}, and
\FUNC{shmem\_alltoalls\{mem\}}.
\\ See Sections \ref{subsec:shmem_sync},
\ref{subsec:shmem_broadcast}, \ref{subsec:shmem_collect},
\ref{subsec:shmem_reductions}, \ref{subsec:shmem_alltoall},
and \ref{subsec:shmem_alltoalls}.
%
\item Added support for nonblocking \ac{AMO} functions.
\\ See Section \ref{sec:amo-nbi}.
%
Expand Down
4 changes: 2 additions & 2 deletions content/collective_intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ \subsubsection*{Active-set-based collectives}
\item \FUNC{shmem\_broadcast\{32, 64\}}
\item \FUNC{shmem\_collect\{32, 64\}}
\item \FUNC{shmem\_fcollect\{32, 64\}}
\item Reduction routines for the following operations: AND, MAX, MIN, SUM, PROD, OR, XOR
\item Reduction routines for the following operations: AND, OR, XOR, MAX, MIN, SUM, PROD
\item \FUNC{shmem\_alltoall\{32, 64\}}
\item \FUNC{shmem\_alltoalls\{32, 64\}}
\end{itemize}
Expand All @@ -128,7 +128,7 @@ \subsubsection*{Team-implicit collectives}
a call to \FUNC{shmem\_ctx\_quiet} on the default context followed by a
call to \FUNC{shmem\_team\_sync} on the world team.

\subsubsection*{Error codes returned from collectives}
\subsubsection*{Error codes returned from team-based collectives}

Collective operations involving multiple \acp{PE} may return values
indicating success while other \acp{PE} are still executing the
Expand Down
2 changes: 1 addition & 1 deletion content/shmem_alltoall.tex
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
\end{itemize}

The data being sent and received are
stored in a contiguous symmetric data object. The total size of each \acp{PE}
stored in a contiguous symmetric data object. The total size of each \ac{PE}'s
\VAR{source} object and \VAR{dest} object is \VAR{nelems} times the size of
an element
times \VAR{N}, where \VAR{N} equals the number of \acp{PE} participating
Expand Down
2 changes: 1 addition & 1 deletion content/shmem_broadcast.tex
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

\apicexample
{In the following \Cstd[11] example, the call to \FUNC{shmem\_broadcast} copies \source{}
on \ac{PE} $0$ to \dest{} on \acp{PE} $1\dots npes-1$.
on \ac{PE} $0$ to \dest{} on \acp{PE} $0\dots npes-1$.

\CorCpp{} example:}
{./example_code/shmem_broadcast_example.c}
Expand Down
2 changes: 1 addition & 1 deletion content/shmem_sync.tex
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
\begin{apiexamples}

\apicexample
{The following \FUNC{shmem\_sync\_all} and \FUNC{shmem\_sync} example is
{The following \FUNC{shmem\_sync} example is
for \Cstd[11] programs:}
{./example_code/shmem_sync_example.c}
{}
Expand Down
3 changes: 2 additions & 1 deletion content/shmem_sync_all.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
\apisummary{
Registers the arrival of a \ac{PE} at a synchronization point and suspends
execution until all other \acp{PE} in the world team arrive at a synchronization point. For multithreaded programs, execution is suspended
execution until all other \acp{PE} in the world team arrive at the synchronization point.
For multithreaded programs, execution is suspended
as specified by the threading model (Section \ref{subsec:thread_support}).
}

Expand Down

0 comments on commit ac012a2

Please sign in to comment.