Skip to content

Commit

Permalink
Merge remote-tracking branch 'wrrobin/sec/setup_thread_mem' into draf…
Browse files Browse the repository at this point in the history
…ts/osh-1.6-rc2
  • Loading branch information
jdinan committed Oct 11, 2024
2 parents 4873b25 + aa875fd commit 7219015
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions content/shmem_team_ptr.tex
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
when it can be accessed using memory loads and stores. Otherwise, a null
pointer is returned.

If \VAR{team} compares equal to \LibConstRef{SHMEM\_TEAM\_WORLD}, then
the behavior is identical to that of \FUNC{shmem\_ptr} with same \VAR{dest}
and \VAR{pe} arguments.
If \VAR{team} compares equal to \LibConstRef{SHMEM\_TEAM\_INVALID},
then a null pointer is returned.
If \VAR{team} is otherwise invalid, the behavior is undefined.
Expand Down
4 changes: 2 additions & 2 deletions content/threads_intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
\begin{enumerate}
\item
In the \CONST{SHMEM\_THREAD\_FUNNELED}, \CONST{SHMEM\_THREAD\_SERIALIZED}, and
\CONST{SHMEM\_THREAD\_MULTIPLE} thread levels, the \FUNC{shmem\_init\_thread} and
\FUNC{shmem\_finalize} calls must be invoked by the same thread.
\CONST{SHMEM\_THREAD\_MULTIPLE} thread levels, the \FUNC{shmem\_finalize}
call must be invoked by the same thread that called \FUNC{shmem\_init\_thread}.

\item
Any \openshmem operation initiated by a thread is considered an action of the
Expand Down

0 comments on commit 7219015

Please sign in to comment.