forked from openshmem-org/specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshmem_atomic_fetch_or.tex
44 lines (34 loc) · 1.19 KB
/
shmem_atomic_fetch_or.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
\apisummary{
Atomically perform a fetching bitwise OR operation on a remote data object.
}
\begin{apidefinition}
\begin{C11synopsis}
TYPE shmem_atomic_fetch_or(TYPE *dest, TYPE value, int pe);
\end{C11synopsis}
where \TYPE{} is one of the bitwise \ac{AMO} types specified by
Table~\ref{bitamotypes}.
\begin{Csynopsis}
TYPE shmem_<TYPENAME>_atomic_fetch_or(TYPE *dest, TYPE value, int pe);
\end{Csynopsis}
where \TYPE{} is one of the bitwise \ac{AMO} types and has a corresponding
\TYPENAME{} specified by Table~\ref{bitamotypes}.
\begin{apiarguments}
\apiargument{OUT}{dest}{A pointer to the remotely accessible data object to
be updated.}
\apiargument{IN}{value}{The operand to the bitwise OR operation.}
\apiargument{IN}{pe}{An integer value for the \ac{PE} on which \VAR{dest}
is to be updated.}
\end{apiarguments}
\apidescription{
\FUNC{shmem\_atomic\_fetch\_or} atomically performs a fetching bitwise OR
on the remotely accessible data object pointed to by \VAR{dest} at PE
\VAR{pe} with the operand \VAR{value}.
}
\apireturnvalues{
The value pointed to by \VAR{dest} on PE \VAR{pe} immediately before the
operation is performed.
}
\apinotes{
None.
}
\end{apidefinition}