Skip to content

Commit afb0edc

Browse files
authored
Merge pull request #17 from naveen-rn/rm-dt-mo-fig
RM data types from memory ordering figures
2 parents a4ca5cc + 1ad0b1e commit afb0edc

File tree

12 files changed

+6840
-1922
lines changed

12 files changed

+6840
-1922
lines changed

content/synchronization_model.tex

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -64,27 +64,6 @@
6464
\hline
6565
\end{tabular}
6666

67-
68-
\begin{tabular}{p{0.2\textwidth} | p{0.7\textwidth}}
69-
Collective synchronization over an active set \\
70-
\FUNC{shmem\_barrier}
71-
&
72-
\raisebox{-\totalheight}{\includegraphics[width=\textwidth]{figures/barrier}}
73-
\end{tabular}
74-
75-
\begin{tabular}{p{0.2\textwidth} | p{0.7\textwidth}}
76-
{}
77-
&
78-
{All local and remote memory operations issued by all \acp{PE} within the
79-
active set are guaranteed to be completed before any \ac{PE} in the
80-
active set returns from the call. Additionally, no \ac{PE} shall return from the
81-
barrier until all \acp{PE} in the active set have entered the same barrier
82-
call. This routine should be used when synchronization as well as completion of
83-
all stores and remote memory updates via \openshmem is required over a sub set
84-
of the executing \acp{PE}.} \tabularnewline
85-
\hline
86-
\end{tabular}
87-
8867
\begin{tabular}{p{0.2\textwidth} | p{0.7\textwidth}}
8968
\hline
9069
\textbf{\openshmem \ac{API}} & \centering \textbf{Working of \openshmem \ac{API}} \tabularnewline
@@ -108,3 +87,25 @@
10887
\hline
10988
\end{tabular}
11089
\clearpage
90+
91+
\begin{tabular}{p{0.2\textwidth} | p{0.7\textwidth}}
92+
Collective synchronization over \\
93+
\FUNC{shmem\_team\_sync}
94+
&
95+
\raisebox{-\totalheight}{\includegraphics[width=0.8\textwidth]{figures/sync}}
96+
\end{tabular}
97+
98+
\begin{tabular}{p{0.2\textwidth} | p{0.7\textwidth}}
99+
{}
100+
&
101+
{\FUNC{shmem\_team\_sync} guarantees that no \ac{PE} shall return from the
102+
synchronization routine until all \acp{PE} in the team have entered the same
103+
\FUNC{shmem\_team\_sync} call. It does not guarantee completion of
104+
local and remote memory operations issued by \acp{PE} within the team.
105+
To do so, \FUNC{shmem\_quiet} should be called on the desired context(s) by all
106+
\acp{PE} within the team before the \FUNC{shmem\_team\_sync} call to
107+
guarantee the completion of the associated stores and remote memory updates via \openshmem.}
108+
\tabularnewline
109+
\hline
110+
\end{tabular}
111+
\clearpage

0 commit comments

Comments
 (0)